#CC3FB7#CC3FB7

#CC3FB7 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.218 H 334.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC3FB7
RGBrgb(204, 63, 183)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 69%, 80%)
CMYKcmyk(0%, 69.1%, 10.3%, 20%)
CIE-LABlab(51.63, 67.66, -34.29)
CIE-LCHlch(51.63, 75.86, 333.12°)
OKLaboklab(61.17% 0.1967 -0.0937)
OKLCHoklch(61.17% 0.218 334.5)
XYZxyz(35.2269, 19.8143, 46.7598)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FB7 #3FCC54
analogous
#9A3FCC #CC3FB7 #CC3F71
triadic
#CC3FB7 #B7CC3F #3FB7CC
tetradic
#CC3FB7 #CC9A3F #3FCC54 #3F71CC
square
#CC3FB7 #CC9A3F #3FCC54 #3F71CC
split-complementary
#CC3FB7 #71CC3F #3FCC9A
monochromatic
#721E66 #A32B91 #CC3FB7 #D96FC9 #E6A0DB

Accessibility & contrast

On white

4.23
#CC3FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC3FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FB7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FB7#FFFFFF#000000##000000
##CC3FB71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#6E82B4
Tritanopia (blue-blind)
#D64A76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3fb7;
/* rgb */ color: rgb(204, 63, 183);
/* oklch */ color: oklch(61.2% 0.218 334.5);
Tailwind
colors: {
  custom: {
    50: '#df80cd',
    500: '#cc3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fb7;
$custom-light: #df80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fb7",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 308.936,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61165,
    "c": 0.21785,
    "h": 334.5
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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