#CB86F9#CB86F9

#CB86F9 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.4% C 0.174 H 310.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CB86F9
RGBrgb(203, 134, 249)
HSLhsl(276, 91%, 75%)
HSVhsv(276, 46%, 98%)
CMYKcmyk(18.5%, 46.2%, 0%, 2.4%)
CIE-LABlab(66.97, 46.69, -47.41)
CIE-LCHlch(66.97, 66.53, 314.56°)
OKLaboklab(73.44% 0.1126 -0.1321)
OKLCHoklch(73.44% 0.174 310.4)
XYZxyz(50.2495, 36.5871, 94.0191)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86F9 #B4F986
analogous
#9186F9 #CB86F9 #F986ED
triadic
#CB86F9 #F9CB86 #86F9CB
tetradic
#CB86F9 #F99186 #B4F986 #86EDF9
square
#CB86F9 #F99186 #B4F986 #86EDF9
split-complementary
#CB86F9 #EDF986 #86F991
monochromatic
#9911F3 #B24CF6 #CB86F9 #E4C0FC #F2E2FE

Accessibility & contrast

On white

2.52
#CB86F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CB86F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86F9
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86F9#FFFFFF#000000##000000
##CB86F91.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FD
Deuteranopia (green-blind)
#7EA4F6
Tritanopia (blue-blind)
#C698B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb86f9;
/* rgb */ color: rgb(203, 134, 249);
/* oklch */ color: oklch(73.4% 0.174 310.4);
Tailwind
colors: {
  custom: {
    50: '#ddabfc',
    500: '#cb86f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb86f9;
$custom-light: #ddabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86f9",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 276,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73442,
    "c": 0.17353,
    "h": 310.4
  },
  "luminance": 0.36586
}

Semantic roles & 50–950 ramp

primary
#CB86F9
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB86F9

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

Preview Lab → · Contrast checker → · Palette generator →

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