#D299ED#D299ED

#D299ED is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.7% C 0.131 H 314.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#D299ED
RGBrgb(210, 153, 237)
HSLhsl(281, 70%, 76%)
HSVhsv(281, 35%, 93%)
CMYKcmyk(11.4%, 35.4%, 0%, 7.1%)
CIE-LABlab(71.28, 35.98, -34.04)
CIE-LCHlch(71.28, 49.53, 316.58°)
OKLaboklab(76.68% 0.0918 -0.0936)
OKLCHoklch(76.68% 0.131 314.5)
XYZxyz(53.2532, 42.5996, 85.5216)
Luminance0.4260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299ED #B4ED99
analogous
#A899ED #D299ED #ED99DE
triadic
#D299ED #EDD299 #99EDD2
tetradic
#D299ED #EDA899 #B4ED99 #99DEED
square
#D299ED #EDA899 #B4ED99 #99DEED
split-complementary
#D299ED #DEED99 #99EDA8
monochromatic
#A431DB #BB65E4 #D299ED #E9CDF6 #F4E5FA

Accessibility & contrast

On white

2.21
#D299ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#D299ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299ED
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299ED#FFFFFF#000000##000000
##D299ED1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF0
Deuteranopia (green-blind)
#99B0EA
Tritanopia (blue-blind)
#D0A4B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d299ed;
/* rgb */ color: rgb(210, 153, 237);
/* oklch */ color: oklch(76.7% 0.131 314.5);
Tailwind
colors: {
  custom: {
    50: '#e1b8f3',
    500: '#d299ed',
    950: '#000000',
  },
}
SCSS
$custom: #d299ed;
$custom-light: #e1b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d299ed",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 280.714,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76681,
    "c": 0.13111,
    "h": 314.5
  },
  "luminance": 0.42599
}

Semantic roles & 50–950 ramp

primary
#D299ED
secondary
#E1F2D9
accent
#D21451
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D299ED

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D299ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva