#CB86FB#CB86FB

#CB86FB is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.5% C 0.176 H 309.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CB86FB
RGBrgb(203, 134, 251)
HSLhsl(275, 94%, 75%)
HSVhsv(275, 47%, 98%)
CMYKcmyk(19.1%, 46.6%, 0%, 1.6%)
CIE-LABlab(67.06, 47.12, -48.35)
CIE-LCHlch(67.06, 67.51, 314.26°)
OKLaboklab(73.54% 0.1128 -0.1348)
OKLCHoklch(73.54% 0.176 309.9)
XYZxyz(50.5631, 36.7125, 95.6707)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86FB #B6FB86
analogous
#9086FB #CB86FB #FB86F0
triadic
#CB86FB #FBCB86 #86FBCB
tetradic
#CB86FB #FB9086 #B6FB86 #86F0FB
square
#CB86FB #FB9086 #B6FB86 #86F0FB
split-complementary
#CB86FB #F0FB86 #86FB90
monochromatic
#9810F7 #B24BF9 #CB86FB #E4C1FD #F2E1FE

Accessibility & contrast

On white

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

On black

8.34
#CB86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86FB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86FB#FFFFFF#000000##000000
##CB86FB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#7DA4F8
Tritanopia (blue-blind)
#C599B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb86fb;
/* rgb */ color: rgb(203, 134, 251);
/* oklch */ color: oklch(73.5% 0.176 309.9);
Tailwind
colors: {
  custom: {
    50: '#ddabfd',
    500: '#cb86fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb86fb;
$custom-light: #ddabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86fb",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 275.385,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73543,
    "c": 0.1758,
    "h": 309.9
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

primary
#CB86FB
secondary
#E3F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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