#F0CDFD

A color in the Purple, Crimson, Magenta family

#f0cdfd is a color in the Purple, Crimson, Magenta family: RGB(240, 205, 253), HSL(284°, 92%, 90%), CMYK(5%, 19%, 0%, 1%). Closest named color: lavender. Contrast is 1.41:1 on white and 14.86:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f0cdfd
RGBrgb(240 205 253)
RGB (legacy)rgb(240, 205, 253)
RGB %rgb(94% 80% 99%)
HSLhsl(284 92% 90%)
HSV / HSBhsv(284, 19%, 99%)
HWBhwb(284 80% 1%)
CMYKcmyk(5%, 19%, 0%, 1%)
CIELAB (D50)lab(86.56 18.91 -18.86)
LCHlch(86.56 26.71 315.08)
OKLaboklab(0.8928 0.0544 -0.051)
OKLCHoklch(0.8928 0.0746 316.84)
Decimal15781373

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlavender ΔE 6.6
Closest web-safe color#ffccff
Hue284°
Saturation (HSL / HSV)92% / 19%
Lightness (HSL)90%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)87% / 85%
Relative luminance (WCAG)0.6928
Red / Green / Blue240 / 205 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.86: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.9 / -83.5 · As background with white / black text: Lc -22.7 / 83.8

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: #f0cdfd;
  --color-brand-oklch: oklch(89.28% 0.0746 316.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 205 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f0cdfd] text-[#f0cdfd] border-[#f0cdfd]">