#CC81FF#CC81FF

#CC81FF is a light, vivid violet. Relative luminance 0.358; OKLCH L 73.1% C 0.189 H 310.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CC81FF
RGBrgb(204, 129, 255)
HSLhsl(276, 100%, 75%)
HSVhsv(276, 49%, 100%)
CMYKcmyk(20%, 49.4%, 0%, 0%)
CIE-LABlab(66.34, 50.87, -51.68)
CIE-LCHlch(66.34, 72.52, 314.55°)
OKLaboklab(73.09% 0.1212 -0.1444)
OKLCHoklch(73.09% 0.189 310)
XYZxyz(50.7987, 35.7587, 98.8144)
Luminance0.3576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC81FF #B4FF81
analogous
#8D81FF #CC81FF #FF81F3
triadic
#CC81FF #FFCC81 #81FFCC
tetradic
#CC81FF #FF8D81 #B4FF81 #81F3FF
square
#CC81FF #FF8D81 #B4FF81 #81F3FF
split-complementary
#CC81FF #F3FF81 #81FF8D
monochromatic
#9A07FF #B344FF #CC81FF #E5BEFF #F3E0FF

Accessibility & contrast

On white

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

On black

8.15
#CC81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC81FF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC81FF#FFFFFF#000000##000000
##CC81FF1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609EFF
Deuteranopia (green-blind)
#76A3FC
Tritanopia (blue-blind)
#C696B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc81ff;
/* rgb */ color: rgb(204, 129, 255);
/* oklch */ color: oklch(73.1% 0.189 310.0);
Tailwind
colors: {
  custom: {
    50: '#dea7ff',
    500: '#cc81ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc81ff;
$custom-light: #dea7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc81ff",
  "rgb": {
    "r": 204,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 275.714,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.18851,
    "h": 310
  },
  "luminance": 0.35758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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