#DF8CEB#DF8CEB

#DF8CEB is a light, vivid purple. Relative luminance 0.404; OKLCH L 75.8% C 0.158 H 322.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#DF8CEB
RGBrgb(223, 140, 235)
HSLhsl(292, 70%, 74%)
HSVhsv(292, 40%, 92%)
CMYKcmyk(5.1%, 40.4%, 0%, 7.8%)
CIE-LABlab(69.78, 46.40, -35.16)
CIE-LCHlch(69.78, 58.21, 322.84°)
OKLaboklab(75.83% 0.125 -0.0964)
OKLCHoklch(75.83% 0.158 322.3)
XYZxyz(54.8032, 40.4443, 83.5009)
Luminance0.4044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CEB #98EB8C
analogous
#AF8CEB #DF8CEB #EB8CC7
triadic
#DF8CEB #EBDF8C #8CEBDF
tetradic
#DF8CEB #EBAF8C #98EB8C #8CC7EB
square
#DF8CEB #EBAF8C #98EB8C #8CC7EB
split-complementary
#DF8CEB #C7EB8C #8CEBAF
monochromatic
#C125D7 #D058E2 #DF8CEB #EEC0F4 #F8E5FA

Accessibility & contrast

On white

2.31
#DF8CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#DF8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CEB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CEB#FFFFFF#000000##000000
##DF8CEB1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EE
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#E297B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df8ceb;
/* rgb */ color: rgb(223, 140, 235);
/* oklch */ color: oklch(75.8% 0.158 322.3);
Tailwind
colors: {
  custom: {
    50: '#eaaff1',
    500: '#df8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #df8ceb;
$custom-light: #eaaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ceb",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 292.421,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75835,
    "c": 0.15785,
    "h": 322.3
  },
  "luminance": 0.40442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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