#CC82F7#CC82F7

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

Color values

HEX#CC82F7
RGBrgb(204, 130, 247)
HSLhsl(278, 88%, 74%)
HSVhsv(278, 47%, 97%)
CMYKcmyk(17.4%, 47.4%, 0%, 3.1%)
CIE-LABlab(66.15, 48.64, -47.59)
CIE-LCHlch(66.15, 68.05, 315.63°)
OKLaboklab(72.83% 0.1189 -0.1325)
OKLCHoklch(72.83% 0.178 311.9)
XYZxyz(49.6700, 35.5190, 92.2169)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82F7 #ADF782
analogous
#9282F7 #CC82F7 #F782E7
triadic
#CC82F7 #F7CC82 #82F7CC
tetradic
#CC82F7 #F79282 #ADF782 #82E7F7
square
#CC82F7 #F79282 #ADF782 #82E7F7
split-complementary
#CC82F7 #E7F782 #82F792
monochromatic
#9D0FEF #B548F3 #CC82F7 #E3BCFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.10
#CC82F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82F7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82F7#FFFFFF#000000##000000
##CC82F71.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#7CA2F4
Tritanopia (blue-blind)
#C894B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc82f7;
/* rgb */ color: rgb(204, 130, 247);
/* oklch */ color: oklch(72.8% 0.178 311.9);
Tailwind
colors: {
  custom: {
    50: '#dea8fa',
    500: '#cc82f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc82f7;
$custom-light: #dea8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82f7",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 277.949,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72827,
    "c": 0.17806,
    "h": 311.9
  },
  "luminance": 0.35518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC82F7

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

Preview Lab → · Contrast checker → · Palette generator →

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