#CB80E7#CB80E7

#CB80E7 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.163 H 316.3°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CB80E7
RGBrgb(203, 128, 231)
HSLhsl(284, 68%, 70%)
HSVhsv(284, 45%, 91%)
CMYKcmyk(12.1%, 44.6%, 0%, 9.4%)
CIE-LABlab(64.89, 46.09, -40.76)
CIE-LCHlch(64.89, 61.52, 318.51°)
OKLaboklab(71.62% 0.1182 -0.1128)
OKLCHoklch(71.62% 0.163 316.3)
XYZxyz(46.7694, 33.9057, 79.6666)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB80E7 #9CE780
analogous
#9780E7 #CB80E7 #E780D0
triadic
#CB80E7 #E7CB80 #80E7CB
tetradic
#CB80E7 #E79780 #9CE780 #80D0E7
square
#CB80E7 #E79780 #9CE780 #80D0E7
split-complementary
#CB80E7 #D0E780 #80E797
monochromatic
#9B26C7 #B64DDD #CB80E7 #E0B3F1 #F4E5FA

Accessibility & contrast

On white

2.70
#CB80E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CB80E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB80E7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB80E7#FFFFFF#000000##000000
##CB80E71.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EB
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#CA8EA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb80e7;
/* rgb */ color: rgb(203, 128, 231);
/* oklch */ color: oklch(71.6% 0.163 316.3);
Tailwind
colors: {
  custom: {
    50: '#dca6ef',
    500: '#cb80e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb80e7;
$custom-light: #dca6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb80e7",
  "rgb": {
    "r": 203,
    "g": 128,
    "b": 231
  },
  "hsl": {
    "h": 283.689,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.16337,
    "h": 316.3
  },
  "luminance": 0.33904
}

Semantic roles & 50–950 ramp

primary
#CB80E7
secondary
#DBF0D3
accent
#D01548
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB80E7

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

Preview Lab → · Contrast checker → · Palette generator →

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