#CD80EA#CD80EA

#CD80EA is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.0% C 0.168 H 316.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CD80EA
RGBrgb(205, 128, 234)
HSLhsl(284, 72%, 71%)
HSVhsv(284, 45%, 92%)
CMYKcmyk(12.4%, 45.3%, 0%, 8.2%)
CIE-LABlab(65.25, 47.26, -41.84)
CIE-LCHlch(65.25, 63.12, 318.48°)
OKLaboklab(71.98% 0.121 -0.1159)
OKLCHoklch(71.98% 0.168 316.2)
XYZxyz(47.7451, 34.3594, 81.9429)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80EA #9DEA80
analogous
#9880EA #CD80EA #EA80D2
triadic
#CD80EA #EACD80 #80EACD
tetradic
#CD80EA #EA9880 #9DEA80 #80D2EA
square
#CD80EA #EA9880 #9DEA80 #80D2EA
split-complementary
#CD80EA #D2EA80 #80EA98
monochromatic
#9F22CE #B84BE1 #CD80EA #E2B5F3 #F5E5FB

Accessibility & contrast

On white

2.67
#CD80EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CD80EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80EA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80EA#FFFFFF#000000##000000
##CD80EA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#CC8FAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd80ea;
/* rgb */ color: rgb(205, 128, 234);
/* oklch */ color: oklch(72.0% 0.168 316.2);
Tailwind
colors: {
  custom: {
    50: '#dea7f1',
    500: '#cd80ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd80ea;
$custom-light: #dea7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80ea",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 283.585,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71981,
    "c": 0.16752,
    "h": 316.2
  },
  "luminance": 0.34358
}

Semantic roles & 50–950 ramp

primary
#CD80EA
secondary
#DDF1D5
accent
#D41247
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD80EA

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

Preview Lab → · Contrast checker → · Palette generator →

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