#D08CD9#D08CD9

#D08CD9 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.4% C 0.131 H 322.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D08CD9
RGBrgb(208, 140, 217)
HSLhsl(293, 50%, 70%)
HSVhsv(293, 35%, 85%)
CMYKcmyk(4.1%, 35.5%, 0%, 14.9%)
CIE-LABlab(67.41, 38.41, -29.04)
CIE-LCHlch(67.41, 48.15, 322.91°)
OKLaboklab(73.44% 0.1038 -0.0793)
OKLCHoklch(73.44% 0.131 322.6)
XYZxyz(47.9135, 37.1774, 70.2842)
Luminance0.3718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CD9 #95D98C
analogous
#A98CD9 #D08CD9 #D98CBC
triadic
#D08CD9 #D9D08C #8CD9D0
tetradic
#D08CD9 #D9A98C #95D98C #8CBCD9
square
#D08CD9 #D9A98C #95D98C #8CBCD9
split-complementary
#D08CD9 #BCD98C #8CD9A9
monochromatic
#A33AB0 #BD5ECA #D08CD9 #E3BAE8 #F6E8F7

Accessibility & contrast

On white

2.49
#D08CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#D08CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CD9
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CD9#FFFFFF#000000##000000
##D08CD91.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#849FDC
Deuteranopia (green-blind)
#95A7D7
Tritanopia (blue-blind)
#D294A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d08cd9;
/* rgb */ color: rgb(208, 140, 217);
/* oklch */ color: oklch(73.4% 0.131 322.6);
Tailwind
colors: {
  custom: {
    50: '#dfafe5',
    500: '#d08cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d08cd9;
$custom-light: #dfafe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cd9",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 292.987,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.13063,
    "h": 322.6
  },
  "luminance": 0.37176
}

Semantic roles & 50–950 ramp

primary
#D08CD9
secondary
#D8EBD6
accent
#BE2839
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151015
muted
#837F84

Preview Lab

Preview with #D08CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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