#D08CEA#D08CEA

#D08CEA is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.2% C 0.149 H 316.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#D08CEA
RGBrgb(208, 140, 234)
HSLhsl(283, 69%, 73%)
HSVhsv(283, 40%, 92%)
CMYKcmyk(11.1%, 40.2%, 0%, 8.2%)
CIE-LABlab(68.10, 41.77, -37.36)
CIE-LCHlch(68.10, 56.04, 318.19°)
OKLaboklab(74.19% 0.1076 -0.103)
OKLCHoklch(74.19% 0.149 316.2)
XYZxyz(50.2396, 38.1079, 82.5350)
Luminance0.3811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CEA #A6EA8C
analogous
#A18CEA #D08CEA #EA8CD5
triadic
#D08CEA #EAD08C #8CEAD0
tetradic
#D08CEA #EAA18C #A6EA8C #8CD5EA
square
#D08CEA #EAA18C #A6EA8C #8CD5EA
split-complementary
#D08CEA #D5EA8C #8CEAA1
monochromatic
#A527D5 #BB58E1 #D08CEA #E5C0F3 #F4E5FA

Accessibility & contrast

On white

2.44
#D08CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#D08CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CEA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CEA#FFFFFF#000000##000000
##D08CEA1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#8EA8E7
Tritanopia (blue-blind)
#CF98B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d08cea;
/* rgb */ color: rgb(208, 140, 234);
/* oklch */ color: oklch(74.2% 0.149 316.2);
Tailwind
colors: {
  custom: {
    50: '#e0aff1',
    500: '#d08cea',
    950: '#000000',
  },
}
SCSS
$custom: #d08cea;
$custom-light: #e0aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cea",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 283.404,
    "s": 69.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74191,
    "c": 0.14892,
    "h": 316.2
  },
  "luminance": 0.38107
}

Semantic roles & 50–950 ramp

primary
#D08CEA
secondary
#E0F2D9
accent
#D11449
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D08CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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