#CC82FB#CC82FB

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

Color values

HEX#CC82FB
RGBrgb(204, 130, 251)
HSLhsl(277, 94%, 75%)
HSVhsv(277, 48%, 98%)
CMYKcmyk(18.7%, 48.2%, 0%, 1.6%)
CIE-LABlab(66.34, 49.49, -49.48)
CIE-LCHlch(66.34, 69.98, 315.01°)
OKLaboklab(73.03% 0.1194 -0.138)
OKLCHoklch(73.03% 0.182 310.9)
XYZxyz(50.2939, 35.7686, 95.5027)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82FB #B1FB82
analogous
#9082FB #CC82FB #FB82EE
triadic
#CC82FB #FBCC82 #82FBCC
tetradic
#CC82FB #FB9082 #B1FB82 #82EEFB
square
#CC82FB #FB9082 #B1FB82 #82EEFB
split-complementary
#CC82FB #EEFB82 #82FB90
monochromatic
#9C0BF7 #B447F9 #CC82FB #E4BDFD #F3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC82FB#FFFFFF#000000##000000
##CC82FB1.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)
#659EFF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#C796B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc82fb;
/* rgb */ color: rgb(204, 130, 251);
/* oklch */ color: oklch(73.0% 0.182 310.9);
Tailwind
colors: {
  custom: {
    50: '#dea8fd',
    500: '#cc82fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc82fb;
$custom-light: #dea8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82fb",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 276.694,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73033,
    "c": 0.18249,
    "h": 310.9
  },
  "luminance": 0.35768
}

Semantic roles & 50–950 ramp

primary
#CC82FB
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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