#CC4FB9#CC4FB9

#CC4FB9 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.9% C 0.199 H 334.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CC4FB9
RGBrgb(204, 79, 185)
HSLhsl(309, 55%, 55%)
HSVhsv(309, 61%, 80%)
CMYKcmyk(0%, 61.3%, 9.3%, 20%)
CIE-LABlab(53.96, 61.74, -31.81)
CIE-LCHlch(53.96, 69.45, 332.74°)
OKLaboklab(62.89% 0.1786 -0.0867)
OKLCHoklch(62.89% 0.199 334.1)
XYZxyz(36.4550, 21.9349, 48.2034)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FB9 #4FCC62
analogous
#A04FCC #CC4FB9 #CC4F7A
triadic
#CC4FB9 #B9CC4F #4FB9CC
tetradic
#CC4FB9 #CCA04F #4FCC62 #4F7ACC
square
#CC4FB9 #CCA04F #4FCC62 #4F7ACC
split-complementary
#CC4FB9 #7ACC4F #4FCCA0
monochromatic
#7D246F #AC3299 #CC4FB9 #DA7ECC #E7AEDF

Accessibility & contrast

On white

3.90
#CC4FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CC4FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FB9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FB9#FFFFFF#000000##000000
##CC4FB91.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BC
Deuteranopia (green-blind)
#7588B6
Tritanopia (blue-blind)
#D5587D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc4fb9;
/* rgb */ color: rgb(204, 79, 185);
/* oklch */ color: oklch(62.9% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#df88ce',
    500: '#cc4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fb9;
$custom-light: #df88ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fb9",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 309.12,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62891,
    "c": 0.19857,
    "h": 334.1
  },
  "luminance": 0.21932
}

Semantic roles & 50–950 ramp

primary
#CC4FB9
secondary
#A1D5A9
accent
#DE6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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