#CC82F6#CC82F6

#CC82F6 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.177 H 312.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#CC82F6
RGBrgb(204, 130, 246)
HSLhsl(278, 87%, 74%)
HSVhsv(278, 47%, 96%)
CMYKcmyk(17.1%, 47.2%, 0%, 3.5%)
CIE-LABlab(66.10, 48.43, -47.11)
CIE-LCHlch(66.10, 67.56, 315.79°)
OKLaboklab(72.78% 0.1188 -0.1312)
OKLCHoklch(72.78% 0.177 312.2)
XYZxyz(49.5161, 35.4575, 91.4064)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82F6 #ACF682
analogous
#9282F6 #CC82F6 #F682E6
triadic
#CC82F6 #F6CC82 #82F6CC
tetradic
#CC82F6 #F69282 #ACF682 #82E6F6
square
#CC82F6 #F69282 #ACF682 #82E6F6
split-complementary
#CC82F6 #E6F682 #82F692
monochromatic
#9D11ED #B549F2 #CC82F6 #E3BBFA #F3E2FD

Accessibility & contrast

On white

2.60
#CC82F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#CC82F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82F6
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82F6#FFFFFF#000000##000000
##CC82F61.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#7DA2F3
Tritanopia (blue-blind)
#C894B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc82f6;
/* rgb */ color: rgb(204, 130, 246);
/* oklch */ color: oklch(72.8% 0.177 312.2);
Tailwind
colors: {
  custom: {
    50: '#dea8f9',
    500: '#cc82f6',
    950: '#000000',
  },
}
SCSS
$custom: #cc82f6;
$custom-light: #dea8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82f6",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 278.276,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72776,
    "c": 0.17695,
    "h": 312.2
  },
  "luminance": 0.35456
}

Semantic roles & 50–950 ramp

primary
#CC82F6
secondary
#E1F5D6
accent
#E30254
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC82F6

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

Preview Lab → · Contrast checker → · Palette generator →

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