#CD80E4#CD80E4

#CD80E4 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.7% C 0.161 H 318.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CD80E4
RGBrgb(205, 128, 228)
HSLhsl(286, 65%, 70%)
HSVhsv(286, 44%, 89%)
CMYKcmyk(10.1%, 43.9%, 0%, 10.6%)
CIE-LABlab(64.98, 46.05, -38.94)
CIE-LCHlch(64.98, 60.31, 319.79°)
OKLaboklab(71.69% 0.12 -0.1075)
OKLCHoklch(71.69% 0.161 318.1)
XYZxyz(46.8977, 34.0204, 77.4799)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80E4 #97E480
analogous
#9B80E4 #CD80E4 #E480C9
triadic
#CD80E4 #E4CD80 #80E4CD
tetradic
#CD80E4 #E49B80 #97E480 #80C9E4
square
#CD80E4 #E49B80 #97E480 #80C9E4
split-complementary
#CD80E4 #C9E480 #80E49B
monochromatic
#9E29C1 #B94ED9 #CD80E4 #E1B2EF #F5E5F9

Accessibility & contrast

On white

2.69
#CD80E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CD80E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80E4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80E4#FFFFFF#000000##000000
##CD80E41.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E8
Deuteranopia (green-blind)
#85A0E1
Tritanopia (blue-blind)
#CD8DA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd80e4;
/* rgb */ color: rgb(205, 128, 228);
/* oklch */ color: oklch(71.7% 0.161 318.1);
Tailwind
colors: {
  custom: {
    50: '#dea7ed',
    500: '#cd80e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd80e4;
$custom-light: #dea7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80e4",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 286.2,
    "s": 64.935,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71693,
    "c": 0.16112,
    "h": 318.1
  },
  "luminance": 0.34019
}

Semantic roles & 50–950 ramp

primary
#CD80E4
secondary
#D8EED2
accent
#CD1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD80E4

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

Preview Lab → · Contrast checker → · Palette generator →

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