#CC86FF#CC86FF

#CC86FF is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.9% C 0.181 H 309.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CC86FF
RGBrgb(204, 134, 255)
HSLhsl(275, 100%, 76%)
HSVhsv(275, 47%, 100%)
CMYKcmyk(20%, 47.5%, 0%, 0%)
CIE-LABlab(67.36, 48.25, -50.06)
CIE-LCHlch(67.36, 69.53, 313.95°)
OKLaboklab(73.85% 0.1145 -0.1398)
OKLCHoklch(73.85% 0.181 309.3)
XYZxyz(51.4735, 37.1083, 99.0394)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86FF #B9FF86
analogous
#9086FF #CC86FF #FF86F5
triadic
#CC86FF #FFCC86 #86FFCC
tetradic
#CC86FF #FF9086 #B9FF86 #86F5FF
square
#CC86FF #FF9086 #B9FF86 #86F5FF
split-complementary
#CC86FF #F5FF86 #86FF90
monochromatic
#980CFF #B249FF #CC86FF #E6C3FF #F2E0FF

Accessibility & contrast

On white

2.49
#CC86FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CC86FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86FF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86FF#FFFFFF#000000##000000
##CC86FF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc86ff;
/* rgb */ color: rgb(204, 134, 255);
/* oklch */ color: oklch(73.9% 0.181 309.3);
Tailwind
colors: {
  custom: {
    50: '#deabff',
    500: '#cc86ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc86ff;
$custom-light: #deabff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86ff",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 274.711,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73851,
    "c": 0.18067,
    "h": 309.3
  },
  "luminance": 0.37108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC86FF

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

Preview Lab → · Contrast checker → · Palette generator →

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