#CD8EE5#CD8EE5

#CD8EE5 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.0% C 0.139 H 316.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CD8EE5
RGBrgb(205, 142, 229)
HSLhsl(283, 63%, 73%)
HSVhsv(283, 38%, 90%)
CMYKcmyk(10.5%, 38%, 0%, 10.2%)
CIE-LABlab(68.01, 38.79, -34.77)
CIE-LCHlch(68.01, 52.09, 318.13°)
OKLaboklab(73.98% 0.1002 -0.0957)
OKLCHoklch(73.98% 0.139 316.3)
XYZxyz(48.9906, 37.9835, 78.8644)
Luminance0.3798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EE5 #A6E58E
analogous
#A18EE5 #CD8EE5 #E58ED2
triadic
#CD8EE5 #E5CD8E #8EE5CD
tetradic
#CD8EE5 #E5A18E #A6E58E #8ED2E5
square
#CD8EE5 #E5A18E #A6E58E #8ED2E5
split-complementary
#CD8EE5 #D2E58E #8EE5A1
monochromatic
#9F2FCA #B75CDA #CD8EE5 #E3C0F0 #F4E6F9

Accessibility & contrast

On white

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

On black

8.60
#CD8EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EE5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EE5#FFFFFF#000000##000000
##CD8EE51.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A2E8
Deuteranopia (green-blind)
#90A8E2
Tritanopia (blue-blind)
#CC99AF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8ee5;
/* rgb */ color: rgb(205, 142, 229);
/* oklch */ color: oklch(74.0% 0.139 316.3);
Tailwind
colors: {
  custom: {
    50: '#ddb0ed',
    500: '#cd8ee5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ee5;
$custom-light: #ddb0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ee5",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 283.448,
    "s": 62.59,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73982,
    "c": 0.13852,
    "h": 316.3
  },
  "luminance": 0.37982
}

Semantic roles & 50–950 ramp

primary
#CD8EE5
secondary
#E0F1DA
accent
#CA1B4B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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