#CB86F8#CB86F8

#CB86F8 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.4% C 0.172 H 310.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CB86F8
RGBrgb(203, 134, 248)
HSLhsl(276, 89%, 75%)
HSVhsv(276, 46%, 97%)
CMYKcmyk(18.1%, 46%, 0%, 2.7%)
CIE-LABlab(66.92, 46.47, -46.93)
CIE-LCHlch(66.92, 66.05, 314.72°)
OKLaboklab(73.39% 0.1124 -0.1307)
OKLCHoklch(73.39% 0.172 310.7)
XYZxyz(50.0939, 36.5249, 93.1998)
Luminance0.3652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB86F8 #B3F886
analogous
#9286F8 #CB86F8 #F886EC
triadic
#CB86F8 #F8CB86 #86F8CB
tetradic
#CB86F8 #F89286 #B3F886 #86ECF8
square
#CB86F8 #F89286 #B3F886 #86ECF8
split-complementary
#CB86F8 #ECF886 #86F892
monochromatic
#9912F1 #B24CF5 #CB86F8 #E4C0FB #F3E2FD

Accessibility & contrast

On white

2.53
#CB86F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CB86F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB86F8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB86F8#FFFFFF#000000##000000
##CB86F81.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#C698B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb86f8;
/* rgb */ color: rgb(203, 134, 248);
/* oklch */ color: oklch(73.4% 0.172 310.7);
Tailwind
colors: {
  custom: {
    50: '#ddabfb',
    500: '#cb86f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb86f8;
$custom-light: #ddabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb86f8",
  "rgb": {
    "r": 203,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 276.316,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73391,
    "c": 0.1724,
    "h": 310.7
  },
  "luminance": 0.36524
}

Semantic roles & 50–950 ramp

primary
#CB86F8
secondary
#E2F5D6
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB86F8

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

Preview Lab → · Contrast checker → · Palette generator →

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