#CD80EF#CD80EF

#CD80EF is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.2% C 0.173 H 314.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CD80EF
RGBrgb(205, 128, 239)
HSLhsl(282, 78%, 72%)
HSVhsv(282, 46%, 94%)
CMYKcmyk(14.2%, 46.4%, 0%, 6.3%)
CIE-LABlab(65.48, 48.29, -44.24)
CIE-LCHlch(65.48, 65.49, 317.50°)
OKLaboklab(72.23% 0.1217 -0.1228)
OKLCHoklch(72.23% 0.173 314.7)
XYZxyz(48.4735, 34.6507, 85.7794)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80EF #A2EF80
analogous
#9680EF #CD80EF #EF80D9
triadic
#CD80EF #EFCD80 #80EFCD
tetradic
#CD80EF #EF9680 #A2EF80 #80D9EF
square
#CD80EF #EF9680 #A2EF80 #80D9EF
split-complementary
#CD80EF #D9EF80 #80EF96
monochromatic
#9F1BD9 #B84AE8 #CD80EF #E2B6F6 #F4E4FC

Accessibility & contrast

On white

2.65
#CD80EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CD80EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80EF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80EF#FFFFFF#000000##000000
##CD80EF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#CB90AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd80ef;
/* rgb */ color: rgb(205, 128, 239);
/* oklch */ color: oklch(72.2% 0.173 314.7);
Tailwind
colors: {
  custom: {
    50: '#dea7f4',
    500: '#cd80ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd80ef;
$custom-light: #dea7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80ef",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 281.622,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72227,
    "c": 0.17292,
    "h": 314.7
  },
  "luminance": 0.34649
}

Semantic roles & 50–950 ramp

primary
#CD80EF
secondary
#E0F3D7
accent
#DA0C4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD80EF

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

Preview Lab → · Contrast checker → · Palette generator →

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