#F2CDFF

A color in the Purple, Crimson, Magenta family

#f2cdff is a color in the Purple, Crimson, Magenta family: RGB(242, 205, 255), HSL(284°, 100%, 90%), CMYK(5%, 20%, 0%, 0%). Closest named color: lavender. Contrast is 1.4:1 on white and 14.95:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f2cdff
RGBrgb(242 205 255)
RGB (legacy)rgb(242, 205, 255)
RGB %rgb(95% 80% 100%)
HSLhsl(284 100% 90%)
HSV / HSBhsv(284, 20%, 100%)
HWBhwb(284 80% 0%)
CMYKcmyk(5%, 20%, 0%, 0%)
CIELAB (D50)lab(86.79 19.88 -19.54)
LCHlch(86.79 27.87 315.49)
OKLaboklab(0.8952 0.0572 -0.0529)
OKLCHoklch(0.8952 0.0779 317.24)
Decimal15912447

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlavender ΔE 6.7
Closest web-safe color#ffccff
Hue284°
Saturation (HSL / HSV)100% / 20%
Lightness (HSL)90%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)87% / 85%
Relative luminance (WCAG)0.6976
Red / Green / Blue242 / 205 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.95:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 19.5 / -83.9 · As background with white / black text: Lc -22.3 / 84.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #f2cdff;
  --color-brand-oklch: oklch(89.52% 0.0779 317.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 205 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2cdff] text-[#f2cdff] border-[#f2cdff]">