#CC3FB6#CC3FB6

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

Color values

HEX#CC3FB6
RGBrgb(204, 63, 182)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 69%, 80%)
CMYKcmyk(0%, 69.1%, 10.8%, 20%)
CIE-LABlab(51.58, 67.51, -33.79)
CIE-LCHlch(51.58, 75.49, 333.41°)
OKLaboklab(61.12% 0.1966 -0.0922)
OKLCHoklch(61.12% 0.217 334.9)
XYZxyz(35.1232, 19.7728, 46.2136)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FB6 #3FCC55
analogous
#9C3FCC #CC3FB6 #CC3F6F
triadic
#CC3FB6 #B6CC3F #3FB6CC
tetradic
#CC3FB6 #CC9C3F #3FCC55 #3F6FCC
square
#CC3FB6 #CC9C3F #3FCC55 #3F6FCC
split-complementary
#CC3FB6 #6FCC3F #3FCC9C
monochromatic
#721E65 #A32B90 #CC3FB6 #D96FC8 #E6A0DB

Accessibility & contrast

On white

4.24
#CC3FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3FB6#FFFFFF#000000##000000
##CC3FB61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EB9
Deuteranopia (green-blind)
#6F82B3
Tritanopia (blue-blind)
#D64A75
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3fb6;
/* rgb */ color: rgb(204, 63, 182);
/* oklch */ color: oklch(61.1% 0.217 334.9);
Tailwind
colors: {
  custom: {
    50: '#df80cc',
    500: '#cc3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fb6;
$custom-light: #df80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fb6",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 309.362,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.21715,
    "h": 334.9
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#CC3FB6
secondary
#95D29E
accent
#E15F47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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