#CC87FD#CC87FD

#CC87FD is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.9% C 0.177 H 309.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CC87FD
RGBrgb(204, 135, 253)
HSLhsl(275, 97%, 76%)
HSVhsv(275, 47%, 99%)
CMYKcmyk(19.4%, 46.6%, 0%, 0.8%)
CIE-LABlab(67.47, 47.29, -48.79)
CIE-LCHlch(67.47, 67.95, 314.10°)
OKLaboklab(73.9% 0.1129 -0.1361)
OKLCHoklch(73.9% 0.177 309.7)
XYZxyz(51.2921, 37.2580, 97.3989)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC87FD #B8FD87
analogous
#9187FD #CC87FD #FD87F3
triadic
#CC87FD #FDCC87 #87FDCC
tetradic
#CC87FD #FD9187 #B8FD87 #87F3FD
square
#CC87FD #FD9187 #B8FD87 #87F3FD
split-complementary
#CC87FD #F3FD87 #87FD91
monochromatic
#990FFB #B24BFC #CC87FD #E6C3FE #F2E1FE

Accessibility & contrast

On white

2.48
#CC87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#CC87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC87FD
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC87FD#FFFFFF#000000##000000
##CC87FD1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#C69AB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc87fd;
/* rgb */ color: rgb(204, 135, 253);
/* oklch */ color: oklch(73.9% 0.177 309.7);
Tailwind
colors: {
  custom: {
    50: '#deabfe',
    500: '#cc87fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc87fd;
$custom-light: #deabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc87fd",
  "rgb": {
    "r": 204,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 275.085,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73903,
    "c": 0.17682,
    "h": 309.7
  },
  "luminance": 0.37257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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