#DE8CEB#DE8CEB

#DE8CEB is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.7% C 0.157 H 321.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#DE8CEB
RGBrgb(222, 140, 235)
HSLhsl(292, 70%, 74%)
HSVhsv(292, 40%, 92%)
CMYKcmyk(5.5%, 40.4%, 0%, 7.8%)
CIE-LABlab(69.67, 46.10, -35.34)
CIE-LCHlch(69.67, 58.09, 322.52°)
OKLaboklab(75.73% 0.1238 -0.097)
OKLCHoklch(75.73% 0.157 321.9)
XYZxyz(54.4960, 40.2859, 83.4865)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8CEB #99EB8C
analogous
#AE8CEB #DE8CEB #EB8CC8
triadic
#DE8CEB #EBDE8C #8CEBDE
tetradic
#DE8CEB #EBAE8C #99EB8C #8CC8EB
square
#DE8CEB #EBAE8C #99EB8C #8CC8EB
split-complementary
#DE8CEB #C8EB8C #8CEBAE
monochromatic
#BF25D7 #CF58E2 #DE8CEB #EDC0F4 #F8E5FA

Accessibility & contrast

On white

2.32
#DE8CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#DE8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8CEB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8CEB#FFFFFF#000000##000000
##DE8CEB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#96ADE8
Tritanopia (blue-blind)
#E097B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #de8ceb;
/* rgb */ color: rgb(222, 140, 235);
/* oklch */ color: oklch(75.7% 0.157 321.9);
Tailwind
colors: {
  custom: {
    50: '#eaaff1',
    500: '#de8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #de8ceb;
$custom-light: #eaaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#de8ceb",
  "rgb": {
    "r": 222,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 291.789,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75726,
    "c": 0.15729,
    "h": 321.9
  },
  "luminance": 0.40284
}

Semantic roles & 50–950 ramp

primary
#DE8CEB
secondary
#DCF2D9
accent
#D2132D
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #DE8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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