#CD80E7#CD80E7

#CD80E7 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.8% C 0.164 H 317.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CD80E7
RGBrgb(205, 128, 231)
HSLhsl(285, 68%, 70%)
HSVhsv(285, 45%, 91%)
CMYKcmyk(11.3%, 44.6%, 0%, 9.4%)
CIE-LABlab(65.11, 46.66, -40.39)
CIE-LCHlch(65.11, 61.71, 319.12°)
OKLaboklab(71.84% 0.1205 -0.1117)
OKLCHoklch(71.84% 0.164 317.2)
XYZxyz(47.3177, 34.1884, 79.6923)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80E7 #9AE780
analogous
#9980E7 #CD80E7 #E780CE
triadic
#CD80E7 #E7CD80 #80E7CD
tetradic
#CD80E7 #E79980 #9AE780 #80CEE7
square
#CD80E7 #E79980 #9AE780 #80CEE7
split-complementary
#CD80E7 #CEE780 #80E799
monochromatic
#9E26C7 #B94DDD #CD80E7 #E1B3F1 #F5E5FA

Accessibility & contrast

On white

2.68
#CD80E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CD80E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80E7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80E7#FFFFFF#000000##000000
##CD80E71.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EB
Deuteranopia (green-blind)
#83A1E4
Tritanopia (blue-blind)
#CC8EA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd80e7;
/* rgb */ color: rgb(205, 128, 231);
/* oklch */ color: oklch(71.8% 0.164 317.2);
Tailwind
colors: {
  custom: {
    50: '#dea7ef',
    500: '#cd80e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd80e7;
$custom-light: #dea7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80e7",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 231
  },
  "hsl": {
    "h": 284.854,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71836,
    "c": 0.16431,
    "h": 317.2
  },
  "luminance": 0.34187
}

Semantic roles & 50–950 ramp

primary
#CD80E7
secondary
#DAF0D3
accent
#D01545
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD80E7

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

Preview Lab → · Contrast checker → · Palette generator →

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