#CC3FB8#CC3FB8

#CC3FB8 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.219 H 334.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC3FB8
RGBrgb(204, 63, 184)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 69%, 80%)
CMYKcmyk(0%, 69.1%, 9.8%, 20%)
CIE-LABlab(51.67, 67.81, -34.80)
CIE-LCHlch(51.67, 76.22, 332.83°)
OKLaboklab(61.22% 0.1968 -0.0952)
OKLCHoklch(61.22% 0.219 334.2)
XYZxyz(35.3314, 19.8560, 47.3099)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FB8 #3FCC53
analogous
#9A3FCC #CC3FB8 #CC3F71
triadic
#CC3FB8 #B8CC3F #3FB8CC
tetradic
#CC3FB8 #CC9A3F #3FCC53 #3F71CC
square
#CC3FB8 #CC9A3F #3FCC53 #3F71CC
split-complementary
#CC3FB8 #71CC3F #3FCC9A
monochromatic
#721E66 #A32B92 #CC3FB8 #D96FCA #E6A0DC

Accessibility & contrast

On white

4.22
#CC3FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC3FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FB8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FB8#FFFFFF#000000##000000
##CC3FB81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#D54B77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3fb8;
/* rgb */ color: rgb(204, 63, 184);
/* oklch */ color: oklch(61.2% 0.219 334.2);
Tailwind
colors: {
  custom: {
    50: '#df80cd',
    500: '#cc3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fb8;
$custom-light: #df80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fb8",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 308.511,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.21857,
    "h": 334.2
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#CC3FB8
secondary
#95D29D
accent
#E15C47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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