#CB86EF#CB86EF

#CB86EF is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.9% C 0.162 H 313.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CB86EF
RGBrgb(203, 134, 239)
HSLhsl(279, 77%, 73%)
HSVhsv(279, 44%, 94%)
CMYKcmyk(15.1%, 43.9%, 0%, 6.3%)
CIE-LABlab(66.50, 44.56, -42.64)
CIE-LCHlch(66.50, 61.68, 316.26°)
OKLaboklab(72.95% 0.1111 -0.1183)
OKLCHoklch(72.95% 0.162 313.2)
XYZxyz(48.7311, 35.9798, 86.0223)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86EF #AAEF86
analogous
#9686EF #CB86EF #EF86DE
triadic
#CB86EF #EFCB86 #86EFCB
tetradic
#CB86EF #EF9686 #AAEF86 #86DEEF
square
#CB86EF #EF9686 #AAEF86 #86DEEF
split-complementary
#CB86EF #DEEF86 #86EF96
monochromatic
#9B1DDD #B450E8 #CB86EF #E2BCF6 #F3E4FB

Accessibility & contrast

On white

2.56
#CB86EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#CB86EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86EF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86EF#FFFFFF#000000##000000
##CB86EF1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#C895AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb86ef;
/* rgb */ color: rgb(203, 134, 239);
/* oklch */ color: oklch(72.9% 0.162 313.2);
Tailwind
colors: {
  custom: {
    50: '#dcabf4',
    500: '#cb86ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb86ef;
$custom-light: #dcabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86ef",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 279.429,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72946,
    "c": 0.16226,
    "h": 313.2
  },
  "luminance": 0.35979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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