#CB80E4#CB80E4

#CB80E4 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.160 H 317.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CB80E4
RGBrgb(203, 128, 228)
HSLhsl(285, 65%, 70%)
HSVhsv(285, 44%, 89%)
CMYKcmyk(11%, 43.9%, 0%, 10.6%)
CIE-LABlab(64.75, 45.48, -39.30)
CIE-LCHlch(64.75, 60.11, 319.16°)
OKLaboklab(71.47% 0.1177 -0.1086)
OKLCHoklch(71.47% 0.16 317.3)
XYZxyz(46.3494, 33.7377, 77.4542)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB80E4 #99E480
analogous
#9980E4 #CB80E4 #E480CB
triadic
#CB80E4 #E4CB80 #80E4CB
tetradic
#CB80E4 #E49980 #99E480 #80CBE4
square
#CB80E4 #E49980 #99E480 #80CBE4
split-complementary
#CB80E4 #CBE480 #80E499
monochromatic
#9B29C1 #B64ED9 #CB80E4 #E0B2EF #F4E5F9

Accessibility & contrast

On white

2.71
#CB80E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CB80E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB80E4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB80E4#FFFFFF#000000##000000
##CB80E41.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E8
Deuteranopia (green-blind)
#83A0E1
Tritanopia (blue-blind)
#CB8EA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb80e4;
/* rgb */ color: rgb(203, 128, 228);
/* oklch */ color: oklch(71.5% 0.160 317.3);
Tailwind
colors: {
  custom: {
    50: '#dca6ed',
    500: '#cb80e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb80e4;
$custom-light: #dca6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb80e4",
  "rgb": {
    "r": 203,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 285,
    "s": 64.935,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.16014,
    "h": 317.3
  },
  "luminance": 0.33736
}

Semantic roles & 50–950 ramp

primary
#CB80E4
secondary
#D9EED2
accent
#CD1946
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB80E4

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

Preview Lab → · Contrast checker → · Palette generator →

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