#CB80EA#CB80EA

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

Color values

HEX#CB80EA
RGBrgb(203, 128, 234)
HSLhsl(282, 72%, 71%)
HSVhsv(282, 45%, 92%)
CMYKcmyk(13.2%, 45.3%, 0%, 8.2%)
CIE-LABlab(65.02, 46.70, -42.21)
CIE-LCHlch(65.02, 62.95, 317.89°)
OKLaboklab(71.77% 0.1186 -0.117)
OKLCHoklch(71.77% 0.167 315.4)
XYZxyz(47.1968, 34.0766, 81.9172)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB80EA #9FEA80
analogous
#9680EA #CB80EA #EA80D4
triadic
#CB80EA #EACB80 #80EACB
tetradic
#CB80EA #EA9680 #9FEA80 #80D4EA
square
#CB80EA #EA9680 #9FEA80 #80D4EA
split-complementary
#CB80EA #D4EA80 #80EA96
monochromatic
#9B22CE #B54BE1 #CB80EA #E1B5F3 #F4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB80EA#FFFFFF#000000##000000
##CB80EA1.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)
#6C99EE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#C98FAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb80ea;
/* rgb */ color: rgb(203, 128, 234);
/* oklch */ color: oklch(71.8% 0.167 315.4);
Tailwind
colors: {
  custom: {
    50: '#dda7f1',
    500: '#cb80ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb80ea;
$custom-light: #dda7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb80ea",
  "rgb": {
    "r": 203,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 282.453,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71765,
    "c": 0.16661,
    "h": 315.4
  },
  "luminance": 0.34075
}

Semantic roles & 50–950 ramp

primary
#CB80EA
secondary
#DDF1D5
accent
#D4124B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB80EA

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

Preview Lab → · Contrast checker → · Palette generator →

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