#CC3FB5#CC3FB5

#CC3FB5 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.216 H 335.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CC3FB5
RGBrgb(204, 63, 181)
HSLhsl(310, 58%, 52%)
HSVhsv(310, 69%, 80%)
CMYKcmyk(0%, 69.1%, 11.3%, 20%)
CIE-LABlab(51.53, 67.36, -33.28)
CIE-LCHlch(51.53, 75.13, 333.71°)
OKLaboklab(61.07% 0.1965 -0.0908)
OKLCHoklch(61.07% 0.216 335.2)
XYZxyz(35.0202, 19.7316, 45.6713)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FB5 #3FCC56
analogous
#9C3FCC #CC3FB5 #CC3F6F
triadic
#CC3FB5 #B5CC3F #3FB5CC
tetradic
#CC3FB5 #CC9C3F #3FCC56 #3F6FCC
square
#CC3FB5 #CC9C3F #3FCC56 #3F6FCC
split-complementary
#CC3FB5 #6FCC3F #3FCC9C
monochromatic
#721E65 #A32B8F #CC3FB5 #D96FC8 #E6A0DA

Accessibility & contrast

On white

4.25
#CC3FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CC3FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FB5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FB5#FFFFFF#000000##000000
##CC3FB51.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#6F82B2
Tritanopia (blue-blind)
#D64975
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3fb5;
/* rgb */ color: rgb(204, 63, 181);
/* oklch */ color: oklch(61.1% 0.216 335.2);
Tailwind
colors: {
  custom: {
    50: '#df80cb',
    500: '#cc3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fb5;
$custom-light: #df80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fb5",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 309.787,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61067,
    "c": 0.21643,
    "h": 335.2
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#CC3FB5
secondary
#95D29F
accent
#E16047
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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