#CD80E2#CD80E2

#CD80E2 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.159 H 318.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CD80E2
RGBrgb(205, 128, 226)
HSLhsl(287, 63%, 69%)
HSVhsv(287, 43%, 89%)
CMYKcmyk(9.3%, 43.4%, 0%, 11.4%)
CIE-LABlab(64.89, 45.66, -37.96)
CIE-LCHlch(64.89, 59.38, 320.26°)
OKLaboklab(71.6% 0.1197 -0.1047)
OKLCHoklch(71.6% 0.159 318.8)
XYZxyz(46.6217, 33.9100, 76.0262)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80E2 #95E280
analogous
#9C80E2 #CD80E2 #E280C6
triadic
#CD80E2 #E2CD80 #80E2CD
tetradic
#CD80E2 #E29C80 #95E280 #80C6E2
square
#CD80E2 #E29C80 #95E280 #80C6E2
split-complementary
#CD80E2 #C6E280 #80E29C
monochromatic
#9D2BBD #B94ED7 #CD80E2 #E1B2ED #F4E4F9

Accessibility & contrast

On white

2.70
#CD80E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CD80E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80E2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80E2#FFFFFF#000000##000000
##CD80E21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E5
Deuteranopia (green-blind)
#86A0DF
Tritanopia (blue-blind)
#CE8DA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd80e2;
/* rgb */ color: rgb(205, 128, 226);
/* oklch */ color: oklch(71.6% 0.159 318.8);
Tailwind
colors: {
  custom: {
    50: '#dea7eb',
    500: '#cd80e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd80e2;
$custom-light: #dea7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80e2",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 287.143,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71599,
    "c": 0.15901,
    "h": 318.8
  },
  "luminance": 0.33908
}

Semantic roles & 50–950 ramp

primary
#CD80E2
secondary
#D7EDD1
accent
#CB1B41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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