#CC82F8#CC82F8

#CC82F8 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.9% C 0.179 H 311.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#CC82F8
RGBrgb(204, 130, 248)
HSLhsl(278, 89%, 74%)
HSVhsv(278, 48%, 97%)
CMYKcmyk(17.7%, 47.6%, 0%, 2.7%)
CIE-LABlab(66.20, 48.85, -48.06)
CIE-LCHlch(66.20, 68.53, 315.47°)
OKLaboklab(72.88% 0.119 -0.1339)
OKLCHoklch(72.88% 0.179 311.6)
XYZxyz(49.8248, 35.5809, 93.0318)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82F8 #AEF882
analogous
#9182F8 #CC82F8 #F882E9
triadic
#CC82F8 #F8CC82 #82F8CC
tetradic
#CC82F8 #F89182 #AEF882 #82E9F8
square
#CC82F8 #F89182 #AEF882 #82E9F8
split-complementary
#CC82F8 #E9F882 #82F891
monochromatic
#9D0EF2 #B448F5 #CC82F8 #E4BCFB #F3E2FD

Accessibility & contrast

On white

2.59
#CC82F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#CC82F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82F8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82F8#FFFFFF#000000##000000
##CC82F81.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#7CA2F5
Tritanopia (blue-blind)
#C795B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc82f8;
/* rgb */ color: rgb(204, 130, 248);
/* oklch */ color: oklch(72.9% 0.179 311.6);
Tailwind
colors: {
  custom: {
    50: '#dea8fb',
    500: '#cc82f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc82f8;
$custom-light: #dea8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82f8",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 277.627,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72878,
    "c": 0.17917,
    "h": 311.6
  },
  "luminance": 0.3558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC82F8

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

Preview Lab → · Contrast checker → · Palette generator →

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