#CC84FA#CC84FA

#CC84FA is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.3% C 0.178 H 310.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CC84FA
RGBrgb(204, 132, 250)
HSLhsl(277, 92%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(18.4%, 47.2%, 0%, 2%)
CIE-LABlab(66.71, 48.23, -48.36)
CIE-LCHlch(66.71, 68.30, 314.92°)
OKLaboklab(73.29% 0.1166 -0.1348)
OKLCHoklch(73.29% 0.178 310.9)
XYZxyz(50.4053, 36.2429, 94.7642)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC84FA #B2FA84
analogous
#9184FA #CC84FA #FA84ED
triadic
#CC84FA #FACC84 #84FACC
tetradic
#CC84FA #FA9184 #B2FA84 #84EDFA
square
#CC84FA #FA9184 #B2FA84 #84EDFA
split-complementary
#CC84FA #EDFA84 #84FA91
monochromatic
#9B0EF5 #B449F8 #CC84FA #E4BFFC #F3E2FE

Accessibility & contrast

On white

2.55
#CC84FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#CC84FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC84FA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC84FA#FFFFFF#000000##000000
##CC84FA1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#C797B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc84fa;
/* rgb */ color: rgb(204, 132, 250);
/* oklch */ color: oklch(73.3% 0.178 310.9);
Tailwind
colors: {
  custom: {
    50: '#dea9fc',
    500: '#cc84fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc84fa;
$custom-light: #dea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc84fa",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 276.61,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73287,
    "c": 0.17821,
    "h": 310.9
  },
  "luminance": 0.36242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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