#CB80E2#CB80E2

#CB80E2 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.158 H 317.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CB80E2
RGBrgb(203, 128, 226)
HSLhsl(286, 63%, 69%)
HSVhsv(286, 43%, 89%)
CMYKcmyk(10.2%, 43.4%, 0%, 11.4%)
CIE-LABlab(64.67, 45.08, -38.33)
CIE-LCHlch(64.67, 59.17, 319.62°)
OKLaboklab(71.38% 0.1173 -0.1058)
OKLCHoklch(71.38% 0.158 317.9)
XYZxyz(46.0733, 33.6273, 76.0005)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB80E2 #97E280
analogous
#9A80E2 #CB80E2 #E280C8
triadic
#CB80E2 #E2CB80 #80E2CB
tetradic
#CB80E2 #E29A80 #97E280 #80C8E2
square
#CB80E2 #E29A80 #97E280 #80C8E2
split-complementary
#CB80E2 #C8E280 #80E29A
monochromatic
#9A2BBD #B74ED7 #CB80E2 #DFB2ED #F4E4F9

Accessibility & contrast

On white

2.72
#CB80E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CB80E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB80E2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB80E2#FFFFFF#000000##000000
##CB80E21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#849FDF
Tritanopia (blue-blind)
#CB8DA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb80e2;
/* rgb */ color: rgb(203, 128, 226);
/* oklch */ color: oklch(71.4% 0.158 317.9);
Tailwind
colors: {
  custom: {
    50: '#dca6eb',
    500: '#cb80e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb80e2;
$custom-light: #dca6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb80e2",
  "rgb": {
    "r": 203,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 285.918,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71381,
    "c": 0.158,
    "h": 317.9
  },
  "luminance": 0.33626
}

Semantic roles & 50–950 ramp

primary
#CB80E2
secondary
#D7EDD1
accent
#CB1B44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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