#CC82FA#CC82FA

#CC82FA is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.0% C 0.181 H 311.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CC82FA
RGBrgb(204, 130, 250)
HSLhsl(277, 92%, 75%)
HSVhsv(277, 48%, 98%)
CMYKcmyk(18.4%, 48%, 0%, 2%)
CIE-LABlab(66.29, 49.28, -49.01)
CIE-LCHlch(66.29, 69.50, 315.16°)
OKLaboklab(72.98% 0.1193 -0.1367)
OKLCHoklch(72.98% 0.181 311.1)
XYZxyz(50.1367, 35.7057, 94.6747)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82FA #B0FA82
analogous
#9082FA #CC82FA #FA82EC
triadic
#CC82FA #FACC82 #82FACC
tetradic
#CC82FA #FA9082 #B0FA82 #82ECFA
square
#CC82FA #FA9082 #B0FA82 #82ECFA
split-complementary
#CC82FA #ECFA82 #82FA90
monochromatic
#9C0CF5 #B447F8 #CC82FA #E4BDFC #F3E2FE

Accessibility & contrast

On white

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

On black

8.14
#CC82FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82FA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82FA#FFFFFF#000000##000000
##CC82FA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#7AA3F7
Tritanopia (blue-blind)
#C795B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc82fa;
/* rgb */ color: rgb(204, 130, 250);
/* oklch */ color: oklch(73.0% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#dea8fc',
    500: '#cc82fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc82fa;
$custom-light: #dea8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82fa",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 277,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.18139,
    "h": 311.1
  },
  "luminance": 0.35705
}

Semantic roles & 50–950 ramp

primary
#CC82FA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC82FA

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

Preview Lab → · Contrast checker → · Palette generator →

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