#D08CEF#D08CEF

#D08CEF is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.4% C 0.154 H 314.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#D08CEF
RGBrgb(208, 140, 239)
HSLhsl(281, 76%, 74%)
HSVhsv(281, 41%, 94%)
CMYKcmyk(13%, 41.4%, 0%, 6.3%)
CIE-LABlab(68.31, 42.79, -39.77)
CIE-LCHlch(68.31, 58.42, 317.10°)
OKLaboklab(74.42% 0.1085 -0.1099)
OKLCHoklch(74.42% 0.154 314.6)
XYZxyz(50.9680, 38.3992, 86.3715)
Luminance0.3840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CEF #ABEF8C
analogous
#9F8CEF #D08CEF #EF8CDD
triadic
#D08CEF #EFD08C #8CEFD0
tetradic
#D08CEF #EF9F8C #ABEF8C #8CDDEF
square
#D08CEF #EF9F8C #ABEF8C #8CDDEF
split-complementary
#D08CEF #DDEF8C #8CEF9F
monochromatic
#A421E0 #BA56E8 #D08CEF #E6C2F6 #F4E4FB

Accessibility & contrast

On white

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

On black

8.68
#D08CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CEF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CEF#FFFFFF#000000##000000
##D08CEF1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F3
Deuteranopia (green-blind)
#8CA8EC
Tritanopia (blue-blind)
#CE9AB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08cef;
/* rgb */ color: rgb(208, 140, 239);
/* oklch */ color: oklch(74.4% 0.154 314.6);
Tailwind
colors: {
  custom: {
    50: '#e0aff4',
    500: '#d08cef',
    950: '#000000',
  },
}
SCSS
$custom: #d08cef;
$custom-light: #e0aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cef",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 281.212,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74422,
    "c": 0.15446,
    "h": 314.6
  },
  "luminance": 0.38398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D08CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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