#CC3FBC#CC3FBC

#CC3FBC is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.221 H 332.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC3FBC
RGBrgb(204, 63, 188)
HSLhsl(307, 58%, 52%)
HSVhsv(307, 69%, 80%)
CMYKcmyk(0%, 69.1%, 7.8%, 20%)
CIE-LABlab(51.87, 68.42, -36.82)
CIE-LCHlch(51.87, 77.70, 331.71°)
OKLaboklab(61.42% 0.1971 -0.101)
OKLCHoklch(61.42% 0.221 332.9)
XYZxyz(35.7566, 20.0261, 49.5494)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FBC #3FCC4F
analogous
#963FCC #CC3FBC #CC3F75
triadic
#CC3FBC #BCCC3F #3FBCCC
tetradic
#CC3FBC #CC963F #3FCC4F #3F75CC
square
#CC3FBC #CC963F #3FCC4F #3F75CC
split-complementary
#CC3FBC #75CC3F #3FCC96
monochromatic
#721E69 #A32B95 #CC3FBC #D96FCD #E6A0DE

Accessibility & contrast

On white

4.20
#CC3FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC3FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FBC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FBC#FFFFFF#000000##000000
##CC3FBC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#D54C79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3fbc;
/* rgb */ color: rgb(204, 63, 188);
/* oklch */ color: oklch(61.4% 0.221 332.9);
Tailwind
colors: {
  custom: {
    50: '#df80d0',
    500: '#cc3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fbc;
$custom-light: #df80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fbc",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 306.809,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.22147,
    "h": 332.9
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#CC3FBC
secondary
#95D29C
accent
#E15847
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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