#CB86FA#CB86FA

#CB86FA is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.5% C 0.175 H 310.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CB86FA
RGBrgb(203, 134, 250)
HSLhsl(276, 92%, 75%)
HSVhsv(276, 46%, 98%)
CMYKcmyk(18.8%, 46.4%, 0%, 2%)
CIE-LABlab(67.01, 46.90, -47.88)
CIE-LCHlch(67.01, 67.02, 314.41°)
OKLaboklab(73.49% 0.1127 -0.1334)
OKLCHoklch(73.49% 0.175 310.2)
XYZxyz(50.4058, 36.6497, 94.8427)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86FA #B5FA86
analogous
#9186FA #CB86FA #FA86EF
triadic
#CB86FA #FACB86 #86FACB
tetradic
#CB86FA #FA9186 #B5FA86 #86EFFA
square
#CB86FA #FA9186 #B5FA86 #86EFFA
split-complementary
#CB86FA #EFFA86 #86FA91
monochromatic
#9810F5 #B24BF8 #CB86FA #E4C1FC #F2E2FE

Accessibility & contrast

On white

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

On black

8.33
#CB86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86FA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86FA#FFFFFF#000000##000000
##CB86FA1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#C598B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb86fa;
/* rgb */ color: rgb(203, 134, 250);
/* oklch */ color: oklch(73.5% 0.175 310.2);
Tailwind
colors: {
  custom: {
    50: '#ddabfc',
    500: '#cb86fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb86fa;
$custom-light: #ddabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86fa",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 275.69,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73492,
    "c": 0.17466,
    "h": 310.2
  },
  "luminance": 0.36649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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