#CC84F5#CC84F5

#CC84F5 is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.0% C 0.173 H 312.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CC84F5
RGBrgb(204, 132, 245)
HSLhsl(278, 85%, 74%)
HSVhsv(278, 46%, 96%)
CMYKcmyk(16.7%, 46.1%, 0%, 3.9%)
CIE-LABlab(66.47, 47.16, -45.99)
CIE-LCHlch(66.47, 65.87, 315.72°)
OKLaboklab(73.03% 0.1159 -0.1279)
OKLCHoklch(73.03% 0.173 312.2)
XYZxyz(49.6317, 35.9335, 90.6898)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC84F5 #ADF584
analogous
#9484F5 #CC84F5 #F584E6
triadic
#CC84F5 #F5CC84 #84F5CC
tetradic
#CC84F5 #F59484 #ADF584 #84E6F5
square
#CC84F5 #F59484 #ADF584 #84E6F5
split-complementary
#CC84F5 #E6F584 #84F594
monochromatic
#9D13EB #B54BF0 #CC84F5 #E3BDFA #F3E3FD

Accessibility & contrast

On white

2.57
#CC84F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CC84F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC84F5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC84F5#FFFFFF#000000##000000
##CC84F51.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EF9
Deuteranopia (green-blind)
#7FA3F2
Tritanopia (blue-blind)
#C895B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc84f5;
/* rgb */ color: rgb(204, 132, 245);
/* oklch */ color: oklch(73.0% 0.173 312.2);
Tailwind
colors: {
  custom: {
    50: '#dda9f9',
    500: '#cc84f5',
    950: '#000000',
  },
}
SCSS
$custom: #cc84f5;
$custom-light: #dda9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc84f5",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 278.23,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73034,
    "c": 0.17263,
    "h": 312.2
  },
  "luminance": 0.35932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC84F5

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

Preview Lab → · Contrast checker → · Palette generator →

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