#CC4FB8#CC4FB8

#CC4FB8 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.8% C 0.198 H 334.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CC4FB8
RGBrgb(204, 79, 184)
HSLhsl(310, 55%, 55%)
HSVhsv(310, 61%, 80%)
CMYKcmyk(0%, 61.3%, 9.8%, 20%)
CIE-LABlab(53.91, 61.58, -31.30)
CIE-LCHlch(53.91, 69.08, 333.05°)
OKLaboklab(62.84% 0.1785 -0.0853)
OKLCHoklch(62.84% 0.198 334.5)
XYZxyz(36.3498, 21.8929, 47.6494)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FB8 #4FCC63
analogous
#A14FCC #CC4FB8 #CC4F79
triadic
#CC4FB8 #B8CC4F #4FB8CC
tetradic
#CC4FB8 #CCA14F #4FCC63 #4F79CC
square
#CC4FB8 #CCA14F #4FCC63 #4F79CC
split-complementary
#CC4FB8 #79CC4F #4FCCA1
monochromatic
#7D246E #AC3298 #CC4FB8 #DA7ECB #E7AEDE

Accessibility & contrast

On white

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

On black

5.38
#CC4FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FB8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FB8#FFFFFF#000000##000000
##CC4FB81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BB
Deuteranopia (green-blind)
#7688B5
Tritanopia (blue-blind)
#D5577C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc4fb8;
/* rgb */ color: rgb(204, 79, 184);
/* oklch */ color: oklch(62.8% 0.198 334.5);
Tailwind
colors: {
  custom: {
    50: '#df88cd',
    500: '#cc4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fb8;
$custom-light: #df88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fb8",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 309.6,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62843,
    "c": 0.19782,
    "h": 334.5
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#CC4FB8
secondary
#A1D5AA
accent
#DE6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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