#CB86EE#CB86EE

#CB86EE is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.9% C 0.161 H 313.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CB86EE
RGBrgb(203, 134, 238)
HSLhsl(280, 75%, 73%)
HSVhsv(280, 44%, 93%)
CMYKcmyk(14.7%, 43.7%, 0%, 6.7%)
CIE-LABlab(66.46, 44.35, -42.16)
CIE-LCHlch(66.46, 61.19, 316.45°)
OKLaboklab(72.9% 0.1109 -0.1169)
OKLCHoklch(72.9% 0.161 313.5)
XYZxyz(48.5838, 35.9208, 85.2464)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86EE #A9EE86
analogous
#9786EE #CB86EE #EE86DD
triadic
#CB86EE #EECB86 #86EECB
tetradic
#CB86EE #EE9786 #A9EE86 #86DDEE
square
#CB86EE #EE9786 #A9EE86 #86DDEE
split-complementary
#CB86EE #DDEE86 #86EE97
monochromatic
#9C1FDB #B450E6 #CB86EE #E2BCF6 #F3E4FB

Accessibility & contrast

On white

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

On black

8.18
#CB86EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86EE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86EE#FFFFFF#000000##000000
##CB86EE1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#C895AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb86ee;
/* rgb */ color: rgb(203, 134, 238);
/* oklch */ color: oklch(72.9% 0.161 313.5);
Tailwind
colors: {
  custom: {
    50: '#dcabf4',
    500: '#cb86ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb86ee;
$custom-light: #dcabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86ee",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 279.808,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72897,
    "c": 0.16114,
    "h": 313.5
  },
  "luminance": 0.3592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB86EE

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

Preview Lab → · Contrast checker → · Palette generator →

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