#CC81FD#CC81FD

#CC81FD is a light, vivid violet. Relative luminance 0.356; OKLCH L 73.0% C 0.186 H 310.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CC81FD
RGBrgb(204, 129, 253)
HSLhsl(276, 97%, 75%)
HSVhsv(276, 49%, 99%)
CMYKcmyk(19.4%, 49%, 0%, 0.8%)
CIE-LABlab(66.24, 50.44, -50.74)
CIE-LCHlch(66.24, 71.55, 314.83°)
OKLaboklab(72.99% 0.1209 -0.1417)
OKLCHoklch(72.99% 0.186 310.5)
XYZxyz(50.4785, 35.6306, 97.1277)
Luminance0.3563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC81FD #B2FD81
analogous
#8E81FD #CC81FD #FD81F0
triadic
#CC81FD #FDCC81 #81FDCC
tetradic
#CC81FD #FD8E81 #B2FD81 #81F0FD
square
#CC81FD #FD8E81 #B2FD81 #81F0FD
split-complementary
#CC81FD #F0FD81 #81FD8E
monochromatic
#9B09FB #B445FC #CC81FD #E4BDFE #F3E1FF

Accessibility & contrast

On white

2.58
#CC81FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CC81FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC81FD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC81FD#FFFFFF#000000##000000
##CC81FD1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#78A2FA
Tritanopia (blue-blind)
#C695B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc81fd;
/* rgb */ color: rgb(204, 129, 253);
/* oklch */ color: oklch(73.0% 0.186 310.5);
Tailwind
colors: {
  custom: {
    50: '#dea7fe',
    500: '#cc81fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc81fd;
$custom-light: #dea7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc81fd",
  "rgb": {
    "r": 204,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 276.29,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72986,
    "c": 0.18629,
    "h": 310.5
  },
  "luminance": 0.3563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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