#CD8EE7#CD8EE7

#CD8EE7 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.1% C 0.141 H 315.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CD8EE7
RGBrgb(205, 142, 231)
HSLhsl(282, 65%, 73%)
HSVhsv(282, 39%, 91%)
CMYKcmyk(11.3%, 38.5%, 0%, 9.4%)
CIE-LABlab(68.09, 39.20, -35.74)
CIE-LCHlch(68.09, 53.05, 317.64°)
OKLaboklab(74.07% 0.1006 -0.0984)
OKLCHoklch(74.07% 0.141 315.6)
XYZxyz(49.2714, 38.0958, 80.3435)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EE7 #A8E78E
analogous
#A08EE7 #CD8EE7 #E78ED4
triadic
#CD8EE7 #E7CD8E #8EE7CD
tetradic
#CD8EE7 #E7A08E #A8E78E #8ED4E7
square
#CD8EE7 #E7A08E #A8E78E #8ED4E7
split-complementary
#CD8EE7 #D4E78E #8EE7A0
monochromatic
#9F2CCF #B75CDC #CD8EE7 #E3C0F2 #F4E6FA

Accessibility & contrast

On white

2.44
#CD8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#CD8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EE7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EE7#FFFFFF#000000##000000
##CD8EE71.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8ee7;
/* rgb */ color: rgb(205, 142, 231);
/* oklch */ color: oklch(74.1% 0.141 315.6);
Tailwind
colors: {
  custom: {
    50: '#ddb0ef',
    500: '#cd8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ee7;
$custom-light: #ddb0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ee7",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 282.472,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74072,
    "c": 0.14076,
    "h": 315.6
  },
  "luminance": 0.38095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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