#CC82F2#CC82F2

#CC82F2 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.6% C 0.173 H 313.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CC82F2
RGBrgb(204, 130, 242)
HSLhsl(280, 81%, 73%)
HSVhsv(280, 46%, 95%)
CMYKcmyk(15.7%, 46.3%, 0%, 5.1%)
CIE-LABlab(65.92, 47.59, -45.21)
CIE-LCHlch(65.92, 65.64, 316.47°)
OKLaboklab(72.58% 0.1182 -0.1257)
OKLCHoklch(72.58% 0.173 313.3)
XYZxyz(48.9088, 35.2146, 88.2078)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82F2 #A8F282
analogous
#9482F2 #CC82F2 #F282E0
triadic
#CC82F2 #F2CC82 #82F2CC
tetradic
#CC82F2 #F29482 #A8F282 #82E0F2
square
#CC82F2 #F29482 #A8F282 #82E0F2
split-complementary
#CC82F2 #E0F282 #82F294
monochromatic
#9D18E2 #B54BEC #CC82F2 #E3B9F8 #F4E3FC

Accessibility & contrast

On white

2.61
#CC82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CC82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82F2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82F2#FFFFFF#000000##000000
##CC82F21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#C993AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc82f2;
/* rgb */ color: rgb(204, 130, 242);
/* oklch */ color: oklch(72.6% 0.173 313.3);
Tailwind
colors: {
  custom: {
    50: '#dda8f7',
    500: '#cc82f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc82f2;
$custom-light: #dda8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82f2",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 279.643,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72575,
    "c": 0.17254,
    "h": 313.3
  },
  "luminance": 0.35213
}

Semantic roles & 50–950 ramp

primary
#CC82F2
secondary
#E1F4D7
accent
#DE0850
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CC82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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