#D08CDB#D08CDB

#D08CDB is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.5% C 0.133 H 321.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D08CDB
RGBrgb(208, 140, 219)
HSLhsl(292, 52%, 70%)
HSVhsv(292, 36%, 86%)
CMYKcmyk(5%, 36.1%, 0%, 14.1%)
CIE-LABlab(67.49, 38.79, -30.02)
CIE-LCHlch(67.49, 49.06, 322.26°)
OKLaboklab(73.53% 0.1043 -0.0821)
OKLCHoklch(73.53% 0.133 321.8)
XYZxyz(48.1752, 37.2821, 71.6626)
Luminance0.3728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08CDB #97DB8C
analogous
#A98CDB #D08CDB #DB8CBE
triadic
#D08CDB #DBD08C #8CDBD0
tetradic
#D08CDB #DBA98C #97DB8C #8CBEDB
square
#D08CDB #DBA98C #97DB8C #8CBEDB
split-complementary
#D08CDB #BEDB8C #8CDBA9
monochromatic
#A338B4 #BD5DCC #D08CDB #E3BBEA #F5E8F8

Accessibility & contrast

On white

2.48
#D08CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#D08CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08CDB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08CDB#FFFFFF#000000##000000
##D08CDB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#839FDE
Deuteranopia (green-blind)
#94A7D8
Tritanopia (blue-blind)
#D295AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d08cdb;
/* rgb */ color: rgb(208, 140, 219);
/* oklch */ color: oklch(73.5% 0.133 321.8);
Tailwind
colors: {
  custom: {
    50: '#dfafe6',
    500: '#d08cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d08cdb;
$custom-light: #dfafe6;
$custom-dark: #000000;
JSON
{
  "hex": "#d08cdb",
  "rgb": {
    "r": 208,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 291.646,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73529,
    "c": 0.13273,
    "h": 321.8
  },
  "luminance": 0.37281
}

Semantic roles & 50–950 ramp

primary
#D08CDB
secondary
#DAECD7
accent
#C0263B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D08CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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