#CC86FB#CC86FB

#CC86FB is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.6% C 0.176 H 310.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CC86FB
RGBrgb(204, 134, 251)
HSLhsl(276, 94%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(18.7%, 46.6%, 0%, 1.6%)
CIE-LABlab(67.17, 47.39, -48.18)
CIE-LCHlch(67.17, 67.58, 314.53°)
OKLaboklab(73.65% 0.114 -0.1343)
OKLCHoklch(73.65% 0.176 310.3)
XYZxyz(50.8363, 36.8534, 95.6835)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86FB #B5FB86
analogous
#9186FB #CC86FB #FB86F0
triadic
#CC86FB #FBCC86 #86FBCC
tetradic
#CC86FB #FB9186 #B5FB86 #86F0FB
square
#CC86FB #FB9186 #B5FB86 #86F0FB
split-complementary
#CC86FB #F0FB86 #86FB91
monochromatic
#9A10F7 #B34BF9 #CC86FB #E5C1FD #F3E1FE

Accessibility & contrast

On white

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

On black

8.37
#CC86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86FB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86FB#FFFFFF#000000##000000
##CC86FB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#C699B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc86fb;
/* rgb */ color: rgb(204, 134, 251);
/* oklch */ color: oklch(73.6% 0.176 310.3);
Tailwind
colors: {
  custom: {
    50: '#deabfd',
    500: '#cc86fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc86fb;
$custom-light: #deabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86fb",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 275.897,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73646,
    "c": 0.17615,
    "h": 310.3
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

primary
#CC86FB
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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