#CD8EE8#CD8EE8

#CD8EE8 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.1% C 0.142 H 315.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CD8EE8
RGBrgb(205, 142, 232)
HSLhsl(282, 66%, 73%)
HSVhsv(282, 39%, 91%)
CMYKcmyk(11.6%, 38.8%, 0%, 9%)
CIE-LABlab(68.13, 39.40, -36.23)
CIE-LCHlch(68.13, 53.53, 317.40°)
OKLaboklab(74.12% 0.1008 -0.0998)
OKLCHoklch(74.12% 0.142 315.3)
XYZxyz(49.4131, 38.1525, 81.0894)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EE8 #A9E88E
analogous
#A08EE8 #CD8EE8 #E88ED6
triadic
#CD8EE8 #E8CD8E #8EE8CD
tetradic
#CD8EE8 #E8A08E #A9E88E #8ED6E8
square
#CD8EE8 #E8A08E #A9E88E #8ED6E8
split-complementary
#CD8EE8 #D6E88E #8EE8A0
monochromatic
#9F2BD1 #B65BDE #CD8EE8 #E3C1F2 #F4E6FA

Accessibility & contrast

On white

2.43
#CD8EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CD8EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EE8
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EE8#FFFFFF#000000##000000
##CD8EE81.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA2EB
Deuteranopia (green-blind)
#8FA8E5
Tritanopia (blue-blind)
#CC9AB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8ee8;
/* rgb */ color: rgb(205, 142, 232);
/* oklch */ color: oklch(74.1% 0.142 315.3);
Tailwind
colors: {
  custom: {
    50: '#ddb0ef',
    500: '#cd8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ee8;
$custom-light: #ddb0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ee8",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 282,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74117,
    "c": 0.14188,
    "h": 315.3
  },
  "luminance": 0.38151
}

Semantic roles & 50–950 ramp

primary
#CD8EE8
secondary
#E1F1DA
accent
#CE174E
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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