#CB86E2#CB86E2

#CB86E2 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.3% C 0.148 H 317.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CB86E2
RGBrgb(203, 134, 226)
HSLhsl(285, 61%, 71%)
HSVhsv(285, 41%, 89%)
CMYKcmyk(10.2%, 40.7%, 0%, 11.4%)
CIE-LABlab(65.93, 41.88, -36.35)
CIE-LCHlch(65.93, 55.46, 319.04°)
OKLaboklab(72.33% 0.1088 -0.1002)
OKLCHoklch(72.33% 0.148 317.4)
XYZxyz(46.8792, 35.2390, 76.2691)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86E2 #9DE286
analogous
#9D86E2 #CB86E2 #E286CB
triadic
#CB86E2 #E2CB86 #86E2CB
tetradic
#CB86E2 #E29D86 #9DE286 #86CBE2
square
#CB86E2 #E29D86 #9DE286 #86CBE2
split-complementary
#CB86E2 #CBE286 #86E29D
monochromatic
#9B2EC0 #B655D6 #CB86E2 #E0B7EE #F4E6F9

Accessibility & contrast

On white

2.61
#CB86E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#CB86E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86E2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86E2#FFFFFF#000000##000000
##CB86E21.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE5
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#CB92A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb86e2;
/* rgb */ color: rgb(203, 134, 226);
/* oklch */ color: oklch(72.3% 0.148 317.4);
Tailwind
colors: {
  custom: {
    50: '#dcaaeb',
    500: '#cb86e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb86e2;
$custom-light: #dcaaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86e2",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 285,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72332,
    "c": 0.14787,
    "h": 317.4
  },
  "luminance": 0.35238
}

Semantic roles & 50–950 ramp

primary
#CB86E2
secondary
#DCEED5
accent
#C91C48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB86E2

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

Preview Lab → · Contrast checker → · Palette generator →

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