#CC4FBA#CC4FBA

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

Color values

HEX#CC4FBA
RGBrgb(204, 79, 186)
HSLhsl(309, 55%, 55%)
HSVhsv(309, 61%, 80%)
CMYKcmyk(0%, 61.3%, 8.8%, 20%)
CIE-LABlab(54.00, 61.90, -32.32)
CIE-LCHlch(54.00, 69.83, 332.43°)
OKLaboklab(62.94% 0.1788 -0.0882)
OKLCHoklch(62.94% 0.199 333.7)
XYZxyz(36.5609, 21.9773, 48.7613)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FBA #4FCC61
analogous
#9F4FCC #CC4FBA #CC4F7B
triadic
#CC4FBA #BACC4F #4FBACC
tetradic
#CC4FBA #CC9F4F #4FCC61 #4F7BCC
square
#CC4FBA #CC9F4F #4FCC61 #4F7BCC
split-complementary
#CC4FBA #7BCC4F #4FCC9F
monochromatic
#7D2470 #AC329A #CC4FBA #DA7ECD #E7AEDF

Accessibility & contrast

On white

3.89
#CC4FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CC4FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FBA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FBA#FFFFFF#000000##000000
##CC4FBA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4fba;
/* rgb */ color: rgb(204, 79, 186);
/* oklch */ color: oklch(62.9% 0.199 333.7);
Tailwind
colors: {
  custom: {
    50: '#df88cf',
    500: '#cc4fba',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fba;
$custom-light: #df88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fba",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 308.64,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62938,
    "c": 0.19933,
    "h": 333.7
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#CC4FBA
secondary
#A1D5A9
accent
#DE5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CC4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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