#D299FE

A color in the Purple, Crimson, Magenta family

#d299fe is a color in the Purple, Crimson, Magenta family: RGB(210, 153, 254), HSL(274°, 98%, 80%), CMYK(17%, 40%, 0%, 0%). Closest named color: plum. Contrast is 2.16:1 on white and 9.73:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d299fe
RGBrgb(210 153 254)
RGB (legacy)rgb(210, 153, 254)
RGB %rgb(82% 60% 100%)
HSLhsl(274 98% 80%)
HSV / HSBhsv(274, 40%, 100%)
HWBhwb(274 60% 0%)
CMYKcmyk(17%, 40%, 0%, 0%)
CIELAB (D50)lab(71.68 35.6 -42.36)
LCHlch(71.68 55.34 310.04)
OKLaboklab(0.7745 0.0954 -0.117)
OKLCHoklch(0.7745 0.1509 309.2)
Decimal13801982

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 5.8
Closest web-safe color#cc99ff
Hue274°
Saturation (HSL / HSV)98% / 40%
Lightness (HSL)80%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)71% / 68%
Relative luminance (WCAG)0.4364
Red / Green / Blue210 / 153 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.73: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 42.3 / -60 · As background with white / black text: Lc -47 / 61.7

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: #d299fe;
  --color-brand-oklch: oklch(77.45% 0.1509 309.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 153 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d299fe] text-[#d299fe] border-[#d299fe]">