#CB88EC#CB88EC

#CB88EC is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.1% C 0.156 H 313.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CB88EC
RGBrgb(203, 136, 236)
HSLhsl(280, 72%, 73%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(14%, 42.4%, 0%, 7.5%)
CIE-LABlab(66.80, 42.87, -40.53)
CIE-LCHlch(66.80, 59.00, 316.60°)
OKLaboklab(73.12% 0.1078 -0.1122)
OKLCHoklch(73.12% 0.156 313.8)
XYZxyz(48.5706, 36.3620, 83.8006)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB88EC #A9EC88
analogous
#9988EC #CB88EC #EC88DB
triadic
#CB88EC #ECCB88 #88ECCB
tetradic
#CB88EC #EC9988 #A9EC88 #88DBEC
square
#CB88EC #EC9988 #A9EC88 #88DBEC
split-complementary
#CB88EC #DBEC88 #88EC99
monochromatic
#9C22D7 #B453E4 #CB88EC #E2BDF4 #F3E5FB

Accessibility & contrast

On white

2.54
#CB88EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CB88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB88EC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB88EC#FFFFFF#000000##000000
##CB88EC1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#C996AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb88ec;
/* rgb */ color: rgb(203, 136, 236);
/* oklch */ color: oklch(73.1% 0.156 313.8);
Tailwind
colors: {
  custom: {
    50: '#dcacf2',
    500: '#cb88ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb88ec;
$custom-light: #dcacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb88ec",
  "rgb": {
    "r": 203,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 280.2,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7312,
    "c": 0.15559,
    "h": 313.8
  },
  "luminance": 0.36361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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