#D08CEE#D08CEE

#D08CEE is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.4% C 0.153 H 314.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#D08CEE
RGBrgb(208, 140, 238)
HSLhsl(282, 74%, 74%)
HSVhsv(282, 41%, 93%)
CMYKcmyk(12.6%, 41.2%, 0%, 6.7%)
CIE-LABlab(68.27, 42.59, -39.29)
CIE-LCHlch(68.27, 57.94, 317.31°)
OKLaboklab(74.38% 0.1083 -0.1085)
OKLCHoklch(74.38% 0.153 314.9)
XYZxyz(50.8207, 38.3403, 85.5956)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CEE #AAEE8C
analogous
#9F8CEE #D08CEE #EE8CDB
triadic
#D08CEE #EED08C #8CEED0
tetradic
#D08CEE #EE9F8C #AAEE8C #8CDBEE
square
#D08CEE #EE9F8C #AAEE8C #8CDBEE
split-complementary
#D08CEE #DBEE8C #8CEE9F
monochromatic
#A421DE #BA57E6 #D08CEE #E6C1F6 #F4E4FB

Accessibility & contrast

On white

2.42
#D08CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#D08CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CEE
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CEE#FFFFFF#000000##000000
##D08CEE1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F2
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#CE9AB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d08cee;
/* rgb */ color: rgb(208, 140, 238);
/* oklch */ color: oklch(74.4% 0.153 314.9);
Tailwind
colors: {
  custom: {
    50: '#e0aff4',
    500: '#d08cee',
    950: '#000000',
  },
}
SCSS
$custom: #d08cee;
$custom-light: #e0aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cee",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 281.633,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74376,
    "c": 0.15335,
    "h": 314.9
  },
  "luminance": 0.38339
}

Semantic roles & 50–950 ramp

primary
#D08CEE
secondary
#E0F3D8
accent
#D60F4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D08CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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