#CB86F2#CB86F2

#CB86F2 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.166 H 312.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CB86F2
RGBrgb(203, 134, 242)
HSLhsl(278, 81%, 74%)
HSVhsv(278, 45%, 95%)
CMYKcmyk(16.1%, 44.6%, 0%, 5.1%)
CIE-LABlab(66.64, 45.19, -44.08)
CIE-LCHlch(66.64, 63.13, 315.72°)
OKLaboklab(73.09% 0.1116 -0.1224)
OKLCHoklch(73.09% 0.166 312.3)
XYZxyz(49.1780, 36.1585, 88.3758)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86F2 #ADF286
analogous
#9586F2 #CB86F2 #F286E3
triadic
#CB86F2 #F2CB86 #86F2CB
tetradic
#CB86F2 #F29586 #ADF286 #86E3F2
square
#CB86F2 #F29586 #ADF286 #86E3F2
split-complementary
#CB86F2 #E3F286 #86F295
monochromatic
#9B19E5 #B34FEC #CB86F2 #E3BDF8 #F3E3FC

Accessibility & contrast

On white

2.55
#CB86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CB86F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86F2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86F2#FFFFFF#000000##000000
##CB86F21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#C796B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb86f2;
/* rgb */ color: rgb(203, 134, 242);
/* oklch */ color: oklch(73.1% 0.166 312.3);
Tailwind
colors: {
  custom: {
    50: '#ddabf7',
    500: '#cb86f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb86f2;
$custom-light: #ddabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86f2",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 278.333,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73092,
    "c": 0.16563,
    "h": 312.3
  },
  "luminance": 0.36158
}

Semantic roles & 50–950 ramp

primary
#CB86F2
secondary
#E2F4D7
accent
#DD0955
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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