#CC82FE#CC82FE

#CC82FE is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.2% C 0.186 H 310.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CC82FE
RGBrgb(204, 130, 254)
HSLhsl(276, 98%, 75%)
HSVhsv(276, 49%, 100%)
CMYKcmyk(19.7%, 48.8%, 0%, 0.4%)
CIE-LABlab(66.49, 50.14, -50.89)
CIE-LCHlch(66.49, 71.44, 314.57°)
OKLaboklab(73.19% 0.1197 -0.1421)
OKLCHoklch(73.19% 0.186 310.1)
XYZxyz(50.7705, 35.9592, 98.0130)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82FE #B4FE82
analogous
#8E82FE #CC82FE #FE82F2
triadic
#CC82FE #FECC82 #82FECC
tetradic
#CC82FE #FE8E82 #B4FE82 #82F2FE
square
#CC82FE #FE8E82 #B4FE82 #82F2FE
split-complementary
#CC82FE #F2FE82 #82FE8E
monochromatic
#9A09FD #B345FE #CC82FE #E5BFFE #F3E1FF

Accessibility & contrast

On white

2.56
#CC82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CC82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82FE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82FE#FFFFFF#000000##000000
##CC82FE1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#C696B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc82fe;
/* rgb */ color: rgb(204, 130, 254);
/* oklch */ color: oklch(73.2% 0.186 310.1);
Tailwind
colors: {
  custom: {
    50: '#dea8ff',
    500: '#cc82fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc82fe;
$custom-light: #dea8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82fe",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 275.806,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73189,
    "c": 0.18584,
    "h": 310.1
  },
  "luminance": 0.35958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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