#CC86F8#CC86F8

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

Color values

HEX#CC86F8
RGBrgb(204, 134, 248)
HSLhsl(277, 89%, 75%)
HSVhsv(277, 46%, 97%)
CMYKcmyk(17.7%, 46%, 0%, 2.7%)
CIE-LABlab(67.03, 46.74, -46.76)
CIE-LCHlch(67.03, 66.12, 314.99°)
OKLaboklab(73.5% 0.1136 -0.1302)
OKLCHoklch(73.5% 0.173 311.1)
XYZxyz(50.3672, 36.6658, 93.2126)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86F8 #B2F886
analogous
#9386F8 #CC86F8 #F886EB
triadic
#CC86F8 #F8CC86 #86F8CC
tetradic
#CC86F8 #F89386 #B2F886 #86EBF8
square
#CC86F8 #F89386 #B2F886 #86EBF8
split-complementary
#CC86F8 #EBF886 #86F893
monochromatic
#9B12F1 #B44CF5 #CC86F8 #E4C0FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.33
#CC86F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86F8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86F8#FFFFFF#000000##000000
##CC86F81.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#7FA5F5
Tritanopia (blue-blind)
#C798B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc86f8;
/* rgb */ color: rgb(204, 134, 248);
/* oklch */ color: oklch(73.5% 0.173 311.1);
Tailwind
colors: {
  custom: {
    50: '#ddabfb',
    500: '#cc86f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc86f8;
$custom-light: #ddabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86f8",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 276.842,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.17277,
    "h": 311.1
  },
  "luminance": 0.36665
}

Semantic roles & 50–950 ramp

primary
#CC86F8
secondary
#E2F5D6
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC86F8

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

Preview Lab → · Contrast checker → · Palette generator →

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