#CD80EB#CD80EB

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

Color values

HEX#CD80EB
RGBrgb(205, 128, 235)
HSLhsl(283, 73%, 71%)
HSVhsv(283, 46%, 92%)
CMYKcmyk(12.8%, 45.5%, 0%, 7.8%)
CIE-LABlab(65.29, 47.47, -42.32)
CIE-LCHlch(65.29, 63.59, 318.28°)
OKLaboklab(72.03% 0.1211 -0.1173)
OKLCHoklch(72.03% 0.169 315.9)
XYZxyz(47.8891, 34.4170, 82.7016)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80EB #9EEB80
analogous
#9780EB #CD80EB #EB80D3
triadic
#CD80EB #EBCD80 #80EBCD
tetradic
#CD80EB #EB9780 #9EEB80 #80D3EB
square
#CD80EB #EB9780 #9EEB80 #80D3EB
split-complementary
#CD80EB #D3EB80 #80EB97
monochromatic
#9F21D0 #B84BE3 #CD80EB #E2B5F3 #F5E5FB

Accessibility & contrast

On white

2.66
#CD80EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CD80EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80EB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80EB#FFFFFF#000000##000000
##CD80EB1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#CC8FAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd80eb;
/* rgb */ color: rgb(205, 128, 235);
/* oklch */ color: oklch(72.0% 0.169 315.9);
Tailwind
colors: {
  custom: {
    50: '#dea7f2',
    500: '#cd80eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd80eb;
$custom-light: #dea7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80eb",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 283.178,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7203,
    "c": 0.1686,
    "h": 315.9
  },
  "luminance": 0.34416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD80EB

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

Preview Lab → · Contrast checker → · Palette generator →

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