#CC82FD#CC82FD

#CC82FD is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.1% C 0.185 H 310.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CC82FD
RGBrgb(204, 130, 253)
HSLhsl(276, 97%, 75%)
HSVhsv(276, 49%, 99%)
CMYKcmyk(19.4%, 48.6%, 0%, 0.8%)
CIE-LABlab(66.44, 49.92, -50.42)
CIE-LCHlch(66.44, 70.95, 314.72°)
OKLaboklab(73.14% 0.1196 -0.1408)
OKLCHoklch(73.14% 0.185 310.4)
XYZxyz(50.6108, 35.8954, 97.1718)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82FD #B3FD82
analogous
#8F82FD #CC82FD #FD82F0
triadic
#CC82FD #FDCC82 #82FDCC
tetradic
#CC82FD #FD8F82 #B3FD82 #82F0FD
square
#CC82FD #FD8F82 #B3FD82 #82F0FD
split-complementary
#CC82FD #F0FD82 #82FD8F
monochromatic
#9B0AFB #B346FC #CC82FD #E5BEFE #F3E1FF

Accessibility & contrast

On white

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

On black

8.18
#CC82FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82FD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82FD#FFFFFF#000000##000000
##CC82FD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc82fd;
/* rgb */ color: rgb(204, 130, 253);
/* oklch */ color: oklch(73.1% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#dea8fe',
    500: '#cc82fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc82fd;
$custom-light: #dea8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82fd",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 276.098,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73136,
    "c": 0.18472,
    "h": 310.4
  },
  "luminance": 0.35894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC82FD

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

Preview Lab → · Contrast checker → · Palette generator →

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