#D199EC#D199EC

#D199EC is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.5% C 0.130 H 314.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D199EC
RGBrgb(209, 153, 236)
HSLhsl(280, 69%, 76%)
HSVhsv(280, 35%, 93%)
CMYKcmyk(11.4%, 35.2%, 0%, 7.5%)
CIE-LABlab(71.14, 35.47, -33.72)
CIE-LCHlch(71.14, 48.94, 316.45°)
OKLaboklab(76.54% 0.0905 -0.0927)
OKLCHoklch(76.54% 0.13 314.3)
XYZxyz(52.8236, 42.3949, 84.7410)
Luminance0.4239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D199EC #B4EC99
analogous
#A899EC #D199EC #EC99DE
triadic
#D199EC #ECD199 #99ECD1
tetradic
#D199EC #ECA899 #B4EC99 #99DEEC
square
#D199EC #ECA899 #B4EC99 #99DEEC
split-complementary
#D199EC #DEEC99 #99ECA8
monochromatic
#A232D9 #BA65E2 #D199EC #E8CDF6 #F3E5FA

Accessibility & contrast

On white

2.22
#D199EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#D199EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D199EC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D199EC#FFFFFF#000000##000000
##D199EC1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d199ec;
/* rgb */ color: rgb(209, 153, 236);
/* oklch */ color: oklch(76.5% 0.130 314.3);
Tailwind
colors: {
  custom: {
    50: '#e0b8f2',
    500: '#d199ec',
    950: '#000000',
  },
}
SCSS
$custom: #d199ec;
$custom-light: #e0b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d199ec",
  "rgb": {
    "r": 209,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 280.482,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76539,
    "c": 0.12951,
    "h": 314.3
  },
  "luminance": 0.42394
}

Semantic roles & 50–950 ramp

primary
#D199EC
secondary
#E1F2D9
accent
#D11552
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D199EC

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

Preview Lab → · Contrast checker → · Palette generator →

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