#CC84F8#CC84F8

#CC84F8 is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.2% C 0.176 H 311.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CC84F8
RGBrgb(204, 132, 248)
HSLhsl(277, 89%, 75%)
HSVhsv(277, 47%, 97%)
CMYKcmyk(17.7%, 46.8%, 0%, 2.7%)
CIE-LABlab(66.61, 47.80, -47.41)
CIE-LCHlch(66.61, 67.33, 315.23°)
OKLaboklab(73.19% 0.1163 -0.132)
OKLCHoklch(73.19% 0.176 311.4)
XYZxyz(50.0934, 36.1182, 93.1214)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC84F8 #B0F884
analogous
#9284F8 #CC84F8 #F884EA
triadic
#CC84F8 #F8CC84 #84F8CC
tetradic
#CC84F8 #F89284 #B0F884 #84EAF8
square
#CC84F8 #F89284 #B0F884 #84EAF8
split-complementary
#CC84F8 #EAF884 #84F892
monochromatic
#9C10F1 #B44AF5 #CC84F8 #E4BEFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.22
#CC84F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC84F8
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC84F8#FFFFFF#000000##000000
##CC84F81.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#7DA4F5
Tritanopia (blue-blind)
#C796B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc84f8;
/* rgb */ color: rgb(204, 132, 248);
/* oklch */ color: oklch(73.2% 0.176 311.4);
Tailwind
colors: {
  custom: {
    50: '#dea9fb',
    500: '#cc84f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc84f8;
$custom-light: #dea9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc84f8",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 277.241,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73185,
    "c": 0.17598,
    "h": 311.4
  },
  "luminance": 0.36117
}

Semantic roles & 50–950 ramp

primary
#CC84F8
secondary
#E2F5D6
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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