#CD8EEB#CD8EEB

#CD8EEB is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.3% C 0.145 H 314.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CD8EEB
RGBrgb(205, 142, 235)
HSLhsl(281, 70%, 74%)
HSVhsv(281, 40%, 92%)
CMYKcmyk(12.8%, 39.6%, 0%, 7.8%)
CIE-LABlab(68.26, 40.02, -37.68)
CIE-LCHlch(68.26, 54.97, 316.72°)
OKLaboklab(74.25% 0.1014 -0.104)
OKLCHoklch(74.25% 0.145 314.3)
XYZxyz(49.8428, 38.3244, 83.3528)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EEB #ACEB8E
analogous
#9F8EEB #CD8EEB #EB8EDB
triadic
#CD8EEB #EBCD8E #8EEBCD
tetradic
#CD8EEB #EB9F8E #ACEB8E #8EDBEB
square
#CD8EEB #EB9F8E #ACEB8E #8EDBEB
split-complementary
#CD8EEB #DBEB8E #8EEB9F
monochromatic
#9F26D8 #B65AE2 #CD8EEB #E4C2F4 #F3E5FA

Accessibility & contrast

On white

2.42
#CD8EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CD8EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EEB
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EEB#FFFFFF#000000##000000
##CD8EEB1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#CB9BB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8eeb;
/* rgb */ color: rgb(205, 142, 235);
/* oklch */ color: oklch(74.3% 0.145 314.3);
Tailwind
colors: {
  custom: {
    50: '#ddb0f1',
    500: '#cd8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8eeb;
$custom-light: #ddb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8eeb",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 280.645,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74254,
    "c": 0.14527,
    "h": 314.3
  },
  "luminance": 0.38323
}

Semantic roles & 50–950 ramp

primary
#CD8EEB
secondary
#E1F2D9
accent
#D21451
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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