#CB80EC#CB80EC

#CB80EC is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.169 H 314.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CB80EC
RGBrgb(203, 128, 236)
HSLhsl(282, 74%, 71%)
HSVhsv(282, 46%, 93%)
CMYKcmyk(14%, 45.8%, 0%, 7.5%)
CIE-LABlab(65.11, 47.11, -43.17)
CIE-LCHlch(65.11, 63.90, 317.50°)
OKLaboklab(71.86% 0.1189 -0.1198)
OKLCHoklch(71.86% 0.169 314.8)
XYZxyz(47.4857, 34.1922, 83.4389)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB80EC #A1EC80
analogous
#9580EC #CB80EC #EC80D7
triadic
#CB80EC #ECCB80 #80ECCB
tetradic
#CB80EC #EC9580 #A1EC80 #80D7EC
square
#CB80EC #EC9580 #A1EC80 #80D7EC
split-complementary
#CB80EC #D7EC80 #80EC95
monochromatic
#9C1FD2 #B54BE4 #CB80EC #E1B5F4 #F4E4FB

Accessibility & contrast

On white

2.68
#CB80EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CB80EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB80EC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB80EC#FFFFFF#000000##000000
##CB80EC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#C990AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb80ec;
/* rgb */ color: rgb(203, 128, 236);
/* oklch */ color: oklch(71.9% 0.169 314.8);
Tailwind
colors: {
  custom: {
    50: '#dda7f2',
    500: '#cb80ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb80ec;
$custom-light: #dda7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb80ec",
  "rgb": {
    "r": 203,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 281.667,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.16879,
    "h": 314.8
  },
  "luminance": 0.34191
}

Semantic roles & 50–950 ramp

primary
#CB80EC
secondary
#DEF2D6
accent
#D60F4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB80EC

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

Preview Lab → · Contrast checker → · Palette generator →

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