#D299EC#D299EC

#D299EC is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.6% C 0.130 H 314.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#D299EC
RGBrgb(210, 153, 236)
HSLhsl(281, 69%, 76%)
HSVhsv(281, 35%, 93%)
CMYKcmyk(11%, 35.2%, 0%, 7.5%)
CIE-LABlab(71.24, 35.78, -33.56)
CIE-LCHlch(71.24, 49.05, 316.83°)
OKLaboklab(76.64% 0.0916 -0.0922)
OKLCHoklch(76.64% 0.13 314.8)
XYZxyz(53.1075, 42.5413, 84.7543)
Luminance0.4254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299EC #B3EC99
analogous
#A999EC #D299EC #EC99DD
triadic
#D299EC #ECD299 #99ECD2
tetradic
#D299EC #ECA999 #B3EC99 #99DDEC
square
#D299EC #ECA999 #B3EC99 #99DDEC
split-complementary
#D299EC #DDEC99 #99ECA9
monochromatic
#A432D9 #BB65E2 #D299EC #E9CDF6 #F4E5FA

Accessibility & contrast

On white

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

On black

9.51
#D299EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299EC
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299EC#FFFFFF#000000##000000
##D299EC1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#D1A4B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d299ec;
/* rgb */ color: rgb(210, 153, 236);
/* oklch */ color: oklch(76.6% 0.130 314.8);
Tailwind
colors: {
  custom: {
    50: '#e1b8f2',
    500: '#d299ec',
    950: '#000000',
  },
}
SCSS
$custom: #d299ec;
$custom-light: #e1b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d299ec",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 281.205,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76638,
    "c": 0.12997,
    "h": 314.8
  },
  "luminance": 0.4254
}

Semantic roles & 50–950 ramp

primary
#D299EC
secondary
#E1F2D9
accent
#D11550
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D299EC

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

Preview Lab → · Contrast checker → · Palette generator →

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