#CB86FE#CB86FE

#CB86FE is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.7% C 0.179 H 309.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CB86FE
RGBrgb(203, 134, 254)
HSLhsl(275, 98%, 76%)
HSVhsv(275, 47%, 100%)
CMYKcmyk(20.1%, 47.2%, 0%, 0.4%)
CIE-LABlab(67.20, 47.77, -49.76)
CIE-LCHlch(67.20, 68.98, 313.83°)
OKLaboklab(73.7% 0.1132 -0.1389)
OKLCHoklch(73.7% 0.179 309.2)
XYZxyz(51.0397, 36.9032, 98.1810)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86FE #B9FE86
analogous
#8F86FE #CB86FE #FE86F5
triadic
#CB86FE #FECB86 #86FECB
tetradic
#CB86FE #FE8F86 #B9FE86 #86F5FE
square
#CB86FE #FE8F86 #B9FE86 #86F5FE
split-complementary
#CB86FE #F5FE86 #86FE8F
monochromatic
#970DFD #B149FD #CB86FE #E5C3FF #F2E1FF

Accessibility & contrast

On white

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

On black

8.38
#CB86FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86FE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86FE#FFFFFF#000000##000000
##CB86FE1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#C49AB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb86fe;
/* rgb */ color: rgb(203, 134, 254);
/* oklch */ color: oklch(73.7% 0.179 309.2);
Tailwind
colors: {
  custom: {
    50: '#ddabff',
    500: '#cb86fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb86fe;
$custom-light: #ddabff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86fe",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 274.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73697,
    "c": 0.1792,
    "h": 309.2
  },
  "luminance": 0.36902
}

Semantic roles & 50–950 ramp

primary
#CB86FE
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB86FE

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

Preview Lab → · Contrast checker → · Palette generator →

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