#CD80E8#CD80E8

#CD80E8 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.165 H 316.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD80E8
RGBrgb(205, 128, 232)
HSLhsl(284, 69%, 71%)
HSVhsv(284, 45%, 91%)
CMYKcmyk(11.6%, 44.8%, 0%, 9%)
CIE-LABlab(65.16, 46.86, -40.87)
CIE-LCHlch(65.16, 62.18, 318.90°)
OKLaboklab(71.88% 0.1207 -0.1131)
OKLCHoklch(71.88% 0.165 316.9)
XYZxyz(47.4594, 34.2451, 80.4382)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80E8 #9BE880
analogous
#9980E8 #CD80E8 #E880CF
triadic
#CD80E8 #E8CD80 #80E8CD
tetradic
#CD80E8 #E89980 #9BE880 #80CFE8
square
#CD80E8 #E89980 #9BE880 #80CFE8
split-complementary
#CD80E8 #CFE880 #80E899
monochromatic
#9E24C9 #B94CDF #CD80E8 #E1B4F1 #F5E5FA

Accessibility & contrast

On white

2.68
#CD80E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CD80E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80E8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80E8#FFFFFF#000000##000000
##CD80E81.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EC
Deuteranopia (green-blind)
#83A1E5
Tritanopia (blue-blind)
#CC8EA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd80e8;
/* rgb */ color: rgb(205, 128, 232);
/* oklch */ color: oklch(71.9% 0.165 316.9);
Tailwind
colors: {
  custom: {
    50: '#dea7ef',
    500: '#cd80e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd80e8;
$custom-light: #dea7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80e8",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 232
  },
  "hsl": {
    "h": 284.423,
    "s": 69.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71884,
    "c": 0.16538,
    "h": 316.9
  },
  "luminance": 0.34244
}

Semantic roles & 50–950 ramp

primary
#CD80E8
secondary
#DBF0D4
accent
#D11445
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD80E8

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

Preview Lab → · Contrast checker → · Palette generator →

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