#CB88EA#CB88EA

#CB88EA is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.0% C 0.153 H 314.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CB88EA
RGBrgb(203, 136, 234)
HSLhsl(281, 70%, 73%)
HSVhsv(281, 42%, 92%)
CMYKcmyk(13.2%, 41.9%, 0%, 8.2%)
CIE-LABlab(66.71, 42.45, -39.57)
CIE-LCHlch(66.71, 58.03, 317.01°)
OKLaboklab(73.02% 0.1074 -0.1094)
OKLCHoklch(73.02% 0.153 314.5)
XYZxyz(48.2817, 36.2465, 82.2788)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB88EA #A7EA88
analogous
#9A88EA #CB88EA #EA88D8
triadic
#CB88EA #EACB88 #88EACB
tetradic
#CB88EA #EA9A88 #A7EA88 #88D8EA
square
#CB88EA #EA9A88 #A7EA88 #88D8EA
split-complementary
#CB88EA #D8EA88 #88EA9A
monochromatic
#9C25D2 #B454E1 #CB88EA #E2BCF3 #F4E5FA

Accessibility & contrast

On white

2.55
#CB88EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#CB88EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB88EA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB88EA#FFFFFF#000000##000000
##CB88EA1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EEE
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#C996AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb88ea;
/* rgb */ color: rgb(203, 136, 234);
/* oklch */ color: oklch(73.0% 0.153 314.5);
Tailwind
colors: {
  custom: {
    50: '#dcacf1',
    500: '#cb88ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb88ea;
$custom-light: #dcacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb88ea",
  "rgb": {
    "r": 203,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 281.02,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73025,
    "c": 0.15335,
    "h": 314.5
  },
  "luminance": 0.36245
}

Semantic roles & 50–950 ramp

primary
#CB88EA
secondary
#E1F2D9
accent
#D21450
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB88EA

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

Preview Lab → · Contrast checker → · Palette generator →

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