#CD80E3#CD80E3

#CD80E3 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.6% C 0.160 H 318.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CD80E3
RGBrgb(205, 128, 227)
HSLhsl(287, 64%, 70%)
HSVhsv(287, 44%, 89%)
CMYKcmyk(9.7%, 43.6%, 0%, 11%)
CIE-LABlab(64.93, 45.85, -38.45)
CIE-LCHlch(64.93, 59.84, 320.02°)
OKLaboklab(71.65% 0.1198 -0.1061)
OKLCHoklch(71.65% 0.16 318.5)
XYZxyz(46.7593, 33.9650, 76.7509)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80E3 #96E380
analogous
#9C80E3 #CD80E3 #E380C7
triadic
#CD80E3 #E3CD80 #80E3CD
tetradic
#CD80E3 #E39C80 #96E380 #80C7E3
square
#CD80E3 #E39C80 #96E380 #80C7E3
split-complementary
#CD80E3 #C7E380 #80E39C
monochromatic
#9E2ABF #B94ED8 #CD80E3 #E1B2EE #F4E4F9

Accessibility & contrast

On white

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

On black

7.79
#CD80E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80E3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80E3#FFFFFF#000000##000000
##CD80E31.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E7
Deuteranopia (green-blind)
#85A0E0
Tritanopia (blue-blind)
#CD8DA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd80e3;
/* rgb */ color: rgb(205, 128, 227);
/* oklch */ color: oklch(71.6% 0.160 318.5);
Tailwind
colors: {
  custom: {
    50: '#dea7ec',
    500: '#cd80e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd80e3;
$custom-light: #dea7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80e3",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 227
  },
  "hsl": {
    "h": 286.667,
    "s": 63.871,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71646,
    "c": 0.16006,
    "h": 318.5
  },
  "luminance": 0.33964
}

Semantic roles & 50–950 ramp

primary
#CD80E3
secondary
#D8EED1
accent
#CC1A41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD80E3

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

Preview Lab → · Contrast checker → · Palette generator →

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