#CB86EC#CB86EC

#CB86EC is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.8% C 0.159 H 314.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CB86EC
RGBrgb(203, 134, 236)
HSLhsl(281, 73%, 73%)
HSVhsv(281, 43%, 93%)
CMYKcmyk(14%, 43.2%, 0%, 7.5%)
CIE-LABlab(66.37, 43.93, -41.20)
CIE-LCHlch(66.37, 60.23, 316.84°)
OKLaboklab(72.8% 0.1106 -0.1141)
OKLCHoklch(72.8% 0.159 314.1)
XYZxyz(48.2916, 35.8040, 83.7075)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86EC #A7EC86
analogous
#9886EC #CB86EC #EC86DA
triadic
#CB86EC #ECCB86 #86ECCB
tetradic
#CB86EC #EC9886 #A7EC86 #86DAEC
square
#CB86EC #EC9886 #A7EC86 #86DAEC
split-complementary
#CB86EC #DAEC86 #86EC98
monochromatic
#9C22D6 #B451E4 #CB86EC #E2BBF4 #F4E5FB

Accessibility & contrast

On white

2.57
#CB86EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CB86EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86EC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86EC#FFFFFF#000000##000000
##CB86EC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DF0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#C995AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb86ec;
/* rgb */ color: rgb(203, 134, 236);
/* oklch */ color: oklch(72.8% 0.159 314.1);
Tailwind
colors: {
  custom: {
    50: '#dcabf2',
    500: '#cb86ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb86ec;
$custom-light: #dcabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86ec",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 280.588,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72801,
    "c": 0.15891,
    "h": 314.1
  },
  "luminance": 0.35803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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