#CD80E5#CD80E5

#CD80E5 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.7% C 0.162 H 317.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CD80E5
RGBrgb(205, 128, 229)
HSLhsl(286, 66%, 70%)
HSVhsv(286, 44%, 90%)
CMYKcmyk(10.5%, 44.1%, 0%, 10.2%)
CIE-LABlab(65.02, 46.25, -39.42)
CIE-LCHlch(65.02, 60.77, 319.56°)
OKLaboklab(71.74% 0.1202 -0.1089)
OKLCHoklch(71.74% 0.162 317.8)
XYZxyz(47.0369, 34.0761, 78.2131)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80E5 #98E580
analogous
#9B80E5 #CD80E5 #E580CA
triadic
#CD80E5 #E5CD80 #80E5CD
tetradic
#CD80E5 #E59B80 #98E580 #80CAE5
square
#CD80E5 #E59B80 #98E580 #80CAE5
split-complementary
#CD80E5 #CAE580 #80E59B
monochromatic
#9E28C3 #B94DDB #CD80E5 #E1B3EF #F5E6FA

Accessibility & contrast

On white

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

On black

7.82
#CD80E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80E5
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80E5#FFFFFF#000000##000000
##CD80E51.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F99E9
Deuteranopia (green-blind)
#84A0E2
Tritanopia (blue-blind)
#CD8EA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd80e5;
/* rgb */ color: rgb(205, 128, 229);
/* oklch */ color: oklch(71.7% 0.162 317.8);
Tailwind
colors: {
  custom: {
    50: '#dea7ed',
    500: '#cd80e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd80e5;
$custom-light: #dea7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80e5",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 229
  },
  "hsl": {
    "h": 285.743,
    "s": 66.013,
    "l": 70
  },
  "oklch": {
    "l": 0.71741,
    "c": 0.16219,
    "h": 317.8
  },
  "luminance": 0.34075
}

Semantic roles & 50–950 ramp

primary
#CD80E5
secondary
#D9EFD2
accent
#CE1843
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD80E5

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

Preview Lab → · Contrast checker → · Palette generator →

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