#CB86FC#CB86FC

#CB86FC is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.6% C 0.177 H 309.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CB86FC
RGBrgb(203, 134, 252)
HSLhsl(275, 95%, 76%)
HSVhsv(275, 47%, 99%)
CMYKcmyk(19.4%, 46.8%, 0%, 1.2%)
CIE-LABlab(67.11, 47.33, -48.82)
CIE-LCHlch(67.11, 68.00, 314.11°)
OKLaboklab(73.59% 0.113 -0.1362)
OKLCHoklch(73.59% 0.177 309.7)
XYZxyz(50.7211, 36.7758, 96.5030)
Luminance0.3678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86FC #B7FC86
analogous
#9086FC #CB86FC #FC86F2
triadic
#CB86FC #FCCB86 #86FCCB
tetradic
#CB86FC #FC9086 #B7FC86 #86F2FC
square
#CB86FC #FC9086 #B7FC86 #86F2FC
split-complementary
#CB86FC #F2FC86 #86FC90
monochromatic
#980FF9 #B14AFB #CB86FC #E5C2FD #F2E1FE

Accessibility & contrast

On white

2.51
#CB86FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CB86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86FC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86FC#FFFFFF#000000##000000
##CB86FC1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#C599B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb86fc;
/* rgb */ color: rgb(203, 134, 252);
/* oklch */ color: oklch(73.6% 0.177 309.7);
Tailwind
colors: {
  custom: {
    50: '#ddabfe',
    500: '#cb86fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb86fc;
$custom-light: #ddabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86fc",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 275.085,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73594,
    "c": 0.17693,
    "h": 309.7
  },
  "luminance": 0.36775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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