#CD8DE2#CD8DE2

#CD8DE2 is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.7% C 0.137 H 317.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CD8DE2
RGBrgb(205, 141, 226)
HSLhsl(285, 59%, 72%)
HSVhsv(285, 38%, 89%)
CMYKcmyk(9.3%, 37.6%, 0%, 11.4%)
CIE-LABlab(67.67, 38.72, -33.65)
CIE-LCHlch(67.67, 51.30, 319.01°)
OKLaboklab(73.68% 0.101 -0.0924)
OKLCHoklch(73.68% 0.137 317.5)
XYZxyz(48.4272, 37.5212, 76.6280)
Luminance0.3752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DE2 #A2E28D
analogous
#A28DE2 #CD8DE2 #E28DCD
triadic
#CD8DE2 #E2CD8D #8DE2CD
tetradic
#CD8DE2 #E2A28D #A2E28D #8DCDE2
square
#CD8DE2 #E2A28D #A2E28D #8DCDE2
split-complementary
#CD8DE2 #CDE28D #8DE2A2
monochromatic
#9F32C3 #B85CD6 #CD8DE2 #E2BEEE #F4E7F9

Accessibility & contrast

On white

2.47
#CD8DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CD8DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DE2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DE2#FFFFFF#000000##000000
##CD8DE21.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A1E5
Deuteranopia (green-blind)
#90A7DF
Tritanopia (blue-blind)
#CD98AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8de2;
/* rgb */ color: rgb(205, 141, 226);
/* oklch */ color: oklch(73.7% 0.137 317.5);
Tailwind
colors: {
  custom: {
    50: '#ddafeb',
    500: '#cd8de2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8de2;
$custom-light: #ddafeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8de2",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 285.176,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73684,
    "c": 0.13691,
    "h": 317.5
  },
  "luminance": 0.3752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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