#CD8EE4#CD8EE4

#CD8EE4 is a light, vivid purple. Relative luminance 0.379; OKLCH L 73.9% C 0.137 H 316.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CD8EE4
RGBrgb(205, 142, 228)
HSLhsl(284, 61%, 73%)
HSVhsv(284, 38%, 89%)
CMYKcmyk(10.1%, 37.7%, 0%, 10.6%)
CIE-LABlab(67.97, 38.58, -34.28)
CIE-LCHlch(67.97, 51.61, 318.38°)
OKLaboklab(73.94% 0.1 -0.0943)
OKLCHoklch(73.94% 0.137 316.7)
XYZxyz(48.8514, 37.9278, 78.1311)
Luminance0.3793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EE4 #A5E48E
analogous
#A28EE4 #CD8EE4 #E48ED0
triadic
#CD8EE4 #E4CD8E #8EE4CD
tetradic
#CD8EE4 #E4A28E #A5E48E #8ED0E4
square
#CD8EE4 #E4A28E #A5E48E #8ED0E4
split-complementary
#CD8EE4 #D0E48E #8EE4A2
monochromatic
#9F30C8 #B75DD8 #CD8EE4 #E3BFF0 #F4E6F9

Accessibility & contrast

On white

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

On black

8.59
#CD8EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EE4
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EE4#FFFFFF#000000##000000
##CD8EE41.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E7
Deuteranopia (green-blind)
#90A8E1
Tritanopia (blue-blind)
#CC99AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8ee4;
/* rgb */ color: rgb(205, 142, 228);
/* oklch */ color: oklch(73.9% 0.137 316.7);
Tailwind
colors: {
  custom: {
    50: '#ddb0ec',
    500: '#cd8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ee4;
$custom-light: #ddb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ee4",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 283.953,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73938,
    "c": 0.13741,
    "h": 316.7
  },
  "luminance": 0.37927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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