#CC86F9#CC86F9

#CC86F9 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.5% C 0.174 H 310.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CC86F9
RGBrgb(204, 134, 249)
HSLhsl(277, 91%, 75%)
HSVhsv(277, 46%, 98%)
CMYKcmyk(18.1%, 46.2%, 0%, 2.4%)
CIE-LABlab(67.07, 46.96, -47.23)
CIE-LCHlch(67.07, 66.60, 314.83°)
OKLaboklab(73.55% 0.1138 -0.1315)
OKLCHoklch(73.55% 0.174 310.9)
XYZxyz(50.5227, 36.7280, 94.0319)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86F9 #B3F986
analogous
#9386F9 #CC86F9 #F986EC
triadic
#CC86F9 #F9CC86 #86F9CC
tetradic
#CC86F9 #F99386 #B3F986 #86ECF9
square
#CC86F9 #F99386 #B3F986 #86ECF9
split-complementary
#CC86F9 #ECF986 #86F993
monochromatic
#9B11F3 #B34CF6 #CC86F9 #E5C0FC #F3E2FE

Accessibility & contrast

On white

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

On black

8.35
#CC86F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86F9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86F9#FFFFFF#000000##000000
##CC86F91.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc86f9;
/* rgb */ color: rgb(204, 134, 249);
/* oklch */ color: oklch(73.5% 0.174 310.9);
Tailwind
colors: {
  custom: {
    50: '#ddabfc',
    500: '#cc86f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc86f9;
$custom-light: #ddabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86f9",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 276.522,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73545,
    "c": 0.17389,
    "h": 310.9
  },
  "luminance": 0.36727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC86F9

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

Preview Lab → · Contrast checker → · Palette generator →

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