#CC86FA#CC86FA

#CC86FA is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.6% C 0.175 H 310.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CC86FA
RGBrgb(204, 134, 250)
HSLhsl(276, 92%, 75%)
HSVhsv(276, 46%, 98%)
CMYKcmyk(18.4%, 46.4%, 0%, 2%)
CIE-LABlab(67.12, 47.17, -47.70)
CIE-LCHlch(67.12, 67.09, 314.68°)
OKLaboklab(73.6% 0.1139 -0.1329)
OKLCHoklch(73.6% 0.175 310.6)
XYZxyz(50.6791, 36.7906, 94.8555)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86FA #B4FA86
analogous
#9286FA #CC86FA #FA86EE
triadic
#CC86FA #FACC86 #86FACC
tetradic
#CC86FA #FA9286 #B4FA86 #86EEFA
square
#CC86FA #FA9286 #B4FA86 #86EEFA
split-complementary
#CC86FA #EEFA86 #86FA92
monochromatic
#9A10F5 #B34BF8 #CC86FA #E5C1FC #F3E2FE

Accessibility & contrast

On white

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

On black

8.36
#CC86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86FA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86FA#FFFFFF#000000##000000
##CC86FA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc86fa;
/* rgb */ color: rgb(204, 134, 250);
/* oklch */ color: oklch(73.6% 0.175 310.6);
Tailwind
colors: {
  custom: {
    50: '#ddabfc',
    500: '#cc86fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc86fa;
$custom-light: #ddabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86fa",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 276.207,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.17502,
    "h": 310.6
  },
  "luminance": 0.3679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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