#CC84FB#CC84FB

#CC84FB is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.3% C 0.179 H 310.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CC84FB
RGBrgb(204, 132, 251)
HSLhsl(276, 94%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(18.7%, 47.4%, 0%, 1.6%)
CIE-LABlab(66.75, 48.44, -48.83)
CIE-LCHlch(66.75, 68.78, 314.77°)
OKLaboklab(73.34% 0.1167 -0.1362)
OKLCHoklch(73.34% 0.179 310.6)
XYZxyz(50.5625, 36.3058, 95.5922)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC84FB #B3FB84
analogous
#9184FB #CC84FB #FB84EE
triadic
#CC84FB #FBCC84 #84FBCC
tetradic
#CC84FB #FB9184 #B3FB84 #84EEFB
square
#CC84FB #FB9184 #B3FB84 #84EEFB
split-complementary
#CC84FB #EEFB84 #84FB91
monochromatic
#9B0DF7 #B349F9 #CC84FB #E5BFFD #F3E1FE

Accessibility & contrast

On white

2.54
#CC84FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CC84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC84FB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC84FB#FFFFFF#000000##000000
##CC84FB1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#C797B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc84fb;
/* rgb */ color: rgb(204, 132, 251);
/* oklch */ color: oklch(73.3% 0.179 310.6);
Tailwind
colors: {
  custom: {
    50: '#dea9fd',
    500: '#cc84fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc84fb;
$custom-light: #dea9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc84fb",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 276.303,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73338,
    "c": 0.17933,
    "h": 310.6
  },
  "luminance": 0.36305
}

Semantic roles & 50–950 ramp

primary
#CC84FB
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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