#D08DEC#D08DEC

#D08DEC is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.4% C 0.149 H 315.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D08DEC
RGBrgb(208, 141, 236)
HSLhsl(282, 71%, 74%)
HSVhsv(282, 40%, 93%)
CMYKcmyk(11.9%, 40.3%, 0%, 7.5%)
CIE-LABlab(68.40, 41.64, -37.99)
CIE-LCHlch(68.40, 56.37, 317.63°)
OKLaboklab(74.44% 0.1065 -0.1048)
OKLCHoklch(74.44% 0.149 315.5)
XYZxyz(50.6753, 38.5170, 84.1057)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08DEC #A9EC8D
analogous
#A18DEC #D08DEC #EC8DD9
triadic
#D08DEC #ECD08D #8DECD0
tetradic
#D08DEC #ECA18D #A9EC8D #8DD9EC
square
#D08DEC #ECA18D #A9EC8D #8DD9EC
split-complementary
#D08DEC #D9EC8D #8DECA1
monochromatic
#A524DA #BA59E3 #D08DEC #E6C1F5 #F4E5FB

Accessibility & contrast

On white

2.41
#D08DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#D08DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08DEC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08DEC#FFFFFF#000000##000000
##D08DEC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#CF9AB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08dec;
/* rgb */ color: rgb(208, 141, 236);
/* oklch */ color: oklch(74.4% 0.149 315.5);
Tailwind
colors: {
  custom: {
    50: '#e0aff2',
    500: '#d08dec',
    950: '#000000',
  },
}
SCSS
$custom: #d08dec;
$custom-light: #e0aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d08dec",
  "rgb": {
    "r": 208,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 282.316,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74445,
    "c": 0.14944,
    "h": 315.5
  },
  "luminance": 0.38516
}

Semantic roles & 50–950 ramp

primary
#D08DEC
secondary
#E0F2D9
accent
#D3124B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D08DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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