#CD8EE2#CD8EE2

#CD8EE2 is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.8% C 0.135 H 317.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CD8EE2
RGBrgb(205, 142, 226)
HSLhsl(285, 59%, 72%)
HSVhsv(285, 37%, 89%)
CMYKcmyk(9.3%, 37.2%, 0%, 11.4%)
CIE-LABlab(67.89, 38.18, -33.31)
CIE-LCHlch(67.89, 50.67, 318.90°)
OKLaboklab(73.85% 0.0995 -0.0915)
OKLCHoklch(73.85% 0.135 317.4)
XYZxyz(48.5753, 37.8174, 76.6774)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EE2 #A3E28E
analogous
#A38EE2 #CD8EE2 #E28ECD
triadic
#CD8EE2 #E2CD8E #8EE2CD
tetradic
#CD8EE2 #E2A38E #A3E28E #8ECDE2
square
#CD8EE2 #E2A38E #A3E28E #8ECDE2
split-complementary
#CD8EE2 #CDE28E #8EE2A3
monochromatic
#9F32C3 #B75DD6 #CD8EE2 #E3BFEE #F4E7F9

Accessibility & contrast

On white

2.45
#CD8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CD8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EE2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EE2#FFFFFF#000000##000000
##CD8EE21.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A1E5
Deuteranopia (green-blind)
#91A7DF
Tritanopia (blue-blind)
#CD98AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8ee2;
/* rgb */ color: rgb(205, 142, 226);
/* oklch */ color: oklch(73.8% 0.135 317.4);
Tailwind
colors: {
  custom: {
    50: '#ddb0eb',
    500: '#cd8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ee2;
$custom-light: #ddb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ee2",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 285,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.13518,
    "h": 317.4
  },
  "luminance": 0.37816
}

Semantic roles & 50–950 ramp

primary
#CD8EE2
secondary
#E0F0DB
accent
#C71F49
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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