#CC82FC#CC82FC

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

Color values

HEX#CC82FC
RGBrgb(204, 130, 252)
HSLhsl(276, 95%, 75%)
HSVhsv(276, 48%, 99%)
CMYKcmyk(19%, 48.4%, 0%, 1.2%)
CIE-LABlab(66.39, 49.71, -49.95)
CIE-LCHlch(66.39, 70.47, 314.86°)
OKLaboklab(73.08% 0.1195 -0.1394)
OKLCHoklch(73.08% 0.184 310.6)
XYZxyz(50.4519, 35.8318, 96.3350)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82FC #B2FC82
analogous
#8F82FC #CC82FC #FC82EF
triadic
#CC82FC #FCCC82 #82FCCC
tetradic
#CC82FC #FC8F82 #B2FC82 #82EFFC
square
#CC82FC #FC8F82 #B2FC82 #82EFFC
split-complementary
#CC82FC #EFFC82 #82FC8F
monochromatic
#9B0AF9 #B446FB #CC82FC #E4BEFD #F3E1FE

Accessibility & contrast

On white

2.57
#CC82FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CC82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82FC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82FC#FFFFFF#000000##000000
##CC82FC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#C696B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc82fc;
/* rgb */ color: rgb(204, 130, 252);
/* oklch */ color: oklch(73.1% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#dea8fe',
    500: '#cc82fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc82fc;
$custom-light: #dea8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82fc",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 276.393,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73084,
    "c": 0.18361,
    "h": 310.6
  },
  "luminance": 0.35831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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