#CC86FD#CC86FD

#CC86FD is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.7% C 0.178 H 309.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CC86FD
RGBrgb(204, 134, 253)
HSLhsl(275, 97%, 76%)
HSVhsv(275, 47%, 99%)
CMYKcmyk(19.4%, 47%, 0%, 0.8%)
CIE-LABlab(67.26, 47.82, -49.12)
CIE-LCHlch(67.26, 68.55, 314.23°)
OKLaboklab(73.75% 0.1143 -0.137)
OKLCHoklch(73.75% 0.178 309.8)
XYZxyz(51.1533, 36.9802, 97.3526)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86FD #B7FD86
analogous
#9086FD #CC86FD #FD86F3
triadic
#CC86FD #FDCC86 #86FDCC
tetradic
#CC86FD #FD9086 #B7FD86 #86F3FD
square
#CC86FD #FD9086 #B7FD86 #86F3FD
split-complementary
#CC86FD #F3FD86 #86FD90
monochromatic
#990EFB #B34AFC #CC86FD #E5C2FE #F2E1FF

Accessibility & contrast

On white

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

On black

8.40
#CC86FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86FD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86FD#FFFFFF#000000##000000
##CC86FD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#C699B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc86fd;
/* rgb */ color: rgb(204, 134, 253);
/* oklch */ color: oklch(73.7% 0.178 309.8);
Tailwind
colors: {
  custom: {
    50: '#deabfe',
    500: '#cc86fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc86fd;
$custom-light: #deabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86fd",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 275.294,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73748,
    "c": 0.17841,
    "h": 309.8
  },
  "luminance": 0.36979
}

Semantic roles & 50–950 ramp

primary
#CC86FD
secondary
#E2F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC86FD

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

Preview Lab → · Contrast checker → · Palette generator →

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