#CC84FE#CC84FE

#CC84FE is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.5% C 0.183 H 309.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CC84FE
RGBrgb(204, 132, 254)
HSLhsl(275, 98%, 76%)
HSVhsv(275, 48%, 100%)
CMYKcmyk(19.7%, 48%, 0%, 0.4%)
CIE-LABlab(66.90, 49.09, -50.24)
CIE-LCHlch(66.90, 70.24, 314.33°)
OKLaboklab(73.49% 0.1171 -0.1403)
OKLCHoklch(73.49% 0.183 309.8)
XYZxyz(51.0392, 36.4965, 98.1025)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC84FE #B6FE84
analogous
#8F84FE #CC84FE #FE84F3
triadic
#CC84FE #FECC84 #84FECC
tetradic
#CC84FE #FE8F84 #B6FE84 #84F3FE
square
#CC84FE #FE8F84 #B6FE84 #84F3FE
split-complementary
#CC84FE #F3FE84 #84FE8F
monochromatic
#9A0BFD #B347FE #CC84FE #E5C1FE #F2E1FF

Accessibility & contrast

On white

2.53
#CC84FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CC84FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC84FE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC84FE#FFFFFF#000000##000000
##CC84FE1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#C698B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc84fe;
/* rgb */ color: rgb(204, 132, 254);
/* oklch */ color: oklch(73.5% 0.183 309.8);
Tailwind
colors: {
  custom: {
    50: '#dea9ff',
    500: '#cc84fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc84fe;
$custom-light: #dea9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc84fe",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 275.41,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.1827,
    "h": 309.8
  },
  "luminance": 0.36496
}

Semantic roles & 50–950 ramp

primary
#CC84FE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC84FE

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

Preview Lab → · Contrast checker → · Palette generator →

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