#CC84F9#CC84F9

#CC84F9 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.2% C 0.177 H 311.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CC84F9
RGBrgb(204, 132, 249)
HSLhsl(277, 91%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(18.1%, 47%, 0%, 2.4%)
CIE-LABlab(66.66, 48.01, -47.88)
CIE-LCHlch(66.66, 67.81, 315.08°)
OKLaboklab(73.24% 0.1165 -0.1334)
OKLCHoklch(73.24% 0.177 311.1)
XYZxyz(50.2489, 36.1804, 93.9406)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC84F9 #B1F984
analogous
#9284F9 #CC84F9 #F984EC
triadic
#CC84F9 #F9CC84 #84F9CC
tetradic
#CC84F9 #F99284 #B1F984 #84ECF9
square
#CC84F9 #F99284 #B1F984 #84ECF9
split-complementary
#CC84F9 #ECF984 #84F992
monochromatic
#9C0FF3 #B44AF6 #CC84F9 #E4BEFC #F3E2FE

Accessibility & contrast

On white

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

On black

8.24
#CC84F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC84F9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC84F9#FFFFFF#000000##000000
##CC84F91.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#7DA4F6
Tritanopia (blue-blind)
#C797B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc84f9;
/* rgb */ color: rgb(204, 132, 249);
/* oklch */ color: oklch(73.2% 0.177 311.1);
Tailwind
colors: {
  custom: {
    50: '#dea9fc',
    500: '#cc84f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc84f9;
$custom-light: #dea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc84f9",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 276.923,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73236,
    "c": 0.17709,
    "h": 311.1
  },
  "luminance": 0.36179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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