#CB81EE#CB81EE

#CB81EE is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.1% C 0.169 H 314.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CB81EE
RGBrgb(203, 129, 238)
HSLhsl(281, 76%, 72%)
HSVhsv(281, 46%, 93%)
CMYKcmyk(14.7%, 45.8%, 0%, 6.7%)
CIE-LABlab(65.41, 47.00, -43.80)
CIE-LCHlch(65.41, 64.25, 317.02°)
OKLaboklab(72.12% 0.1179 -0.1216)
OKLCHoklch(72.12% 0.169 314.1)
XYZxyz(47.9090, 34.5712, 85.0215)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81EE #A4EE81
analogous
#9581EE #CB81EE #EE81DB
triadic
#CB81EE #EECB81 #81EECB
tetradic
#CB81EE #EE9581 #A4EE81 #81DBEE
square
#CB81EE #EE9581 #A4EE81 #81DBEE
split-complementary
#CB81EE #DBEE81 #81EE95
monochromatic
#9C1DD8 #B54BE7 #CB81EE #E1B7F5 #F4E4FB

Accessibility & contrast

On white

2.65
#CB81EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CB81EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81EE
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81EE#FFFFFF#000000##000000
##CB81EE1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#C891AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb81ee;
/* rgb */ color: rgb(203, 129, 238);
/* oklch */ color: oklch(72.1% 0.169 314.1);
Tailwind
colors: {
  custom: {
    50: '#dda7f4',
    500: '#cb81ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb81ee;
$custom-light: #dda7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81ee",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 280.734,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.16934,
    "h": 314.1
  },
  "luminance": 0.3457
}

Semantic roles & 50–950 ramp

primary
#CB81EE
secondary
#E1F3D8
accent
#D80D4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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