#CD80EC#CD80EC

#CD80EC is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.1% C 0.170 H 315.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CD80EC
RGBrgb(205, 128, 236)
HSLhsl(283, 74%, 71%)
HSVhsv(283, 46%, 93%)
CMYKcmyk(13.1%, 45.8%, 0%, 7.5%)
CIE-LABlab(65.34, 47.67, -42.80)
CIE-LCHlch(65.34, 64.07, 318.08°)
OKLaboklab(72.08% 0.1213 -0.1187)
OKLCHoklch(72.08% 0.17 315.6)
XYZxyz(48.0340, 34.4749, 83.4646)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80EC #9FEC80
analogous
#9780EC #CD80EC #EC80D5
triadic
#CD80EC #ECCD80 #80ECCD
tetradic
#CD80EC #EC9780 #9FEC80 #80D5EC
square
#CD80EC #EC9780 #9FEC80 #80D5EC
split-complementary
#CD80EC #D5EC80 #80EC97
monochromatic
#9F1FD2 #B84BE4 #CD80EC #E2B5F4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.89
#CD80EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80EC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80EC#FFFFFF#000000##000000
##CD80EC1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#CB90AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd80ec;
/* rgb */ color: rgb(205, 128, 236);
/* oklch */ color: oklch(72.1% 0.170 315.6);
Tailwind
colors: {
  custom: {
    50: '#dea7f2',
    500: '#cd80ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd80ec;
$custom-light: #dea7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80ec",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 282.778,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72079,
    "c": 0.16968,
    "h": 315.6
  },
  "luminance": 0.34474
}

Semantic roles & 50–950 ramp

primary
#CD80EC
secondary
#DEF2D6
accent
#D60F48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD80EC

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

Preview Lab → · Contrast checker → · Palette generator →

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