#CC86FE#CC86FE

#CC86FE is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.8% C 0.180 H 309.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CC86FE
RGBrgb(204, 134, 254)
HSLhsl(275, 98%, 76%)
HSVhsv(275, 47%, 100%)
CMYKcmyk(19.7%, 47.2%, 0%, 0.4%)
CIE-LABlab(67.31, 48.03, -49.59)
CIE-LCHlch(67.31, 69.04, 314.09°)
OKLaboklab(73.8% 0.1144 -0.1384)
OKLCHoklch(73.8% 0.18 309.6)
XYZxyz(51.3130, 37.0441, 98.1938)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86FE #B8FE86
analogous
#9086FE #CC86FE #FE86F4
triadic
#CC86FE #FECC86 #86FECC
tetradic
#CC86FE #FE9086 #B8FE86 #86F4FE
square
#CC86FE #FE9086 #B8FE86 #86F4FE
split-complementary
#CC86FE #F4FE86 #86FE90
monochromatic
#990DFD #B249FD #CC86FE #E6C3FF #F2E1FF

Accessibility & contrast

On white

2.50
#CC86FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CC86FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86FE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86FE#FFFFFF#000000##000000
##CC86FE1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc86fe;
/* rgb */ color: rgb(204, 134, 254);
/* oklch */ color: oklch(73.8% 0.180 309.6);
Tailwind
colors: {
  custom: {
    50: '#deabff',
    500: '#cc86fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc86fe;
$custom-light: #deabff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86fe",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 275,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.738,
    "c": 0.17954,
    "h": 309.6
  },
  "luminance": 0.37043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC86FE

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

Preview Lab → · Contrast checker → · Palette generator →

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