#CC3FC5#CC3FC5

#CC3FC5 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.228 H 330.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC3FC5
RGBrgb(204, 63, 197)
HSLhsl(303, 58%, 52%)
HSVhsv(303, 69%, 80%)
CMYKcmyk(0%, 69.1%, 3.4%, 20%)
CIE-LABlab(52.32, 69.82, -41.32)
CIE-LCHlch(52.32, 81.13, 329.38°)
OKLaboklab(61.89% 0.1976 -0.1139)
OKLCHoklch(61.89% 0.228 330)
XYZxyz(36.7572, 20.4264, 54.8192)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FC5 #3FCC46
analogous
#8D3FCC #CC3FC5 #CC3F7E
triadic
#CC3FC5 #C5CC3F #3FC5CC
tetradic
#CC3FC5 #CC8D3F #3FCC46 #3F7ECC
square
#CC3FC5 #CC8D3F #3FCC46 #3F7ECC
split-complementary
#CC3FC5 #7ECC3F #3FCC8D
monochromatic
#721E6E #A32B9D #CC3FC5 #D96FD4 #E6A0E2

Accessibility & contrast

On white

4.13
#CC3FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC3FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FC5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FC5#FFFFFF#000000##000000
##CC3FC51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3071C9
Deuteranopia (green-blind)
#6884C1
Tritanopia (blue-blind)
#D3517E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc3fc5;
/* rgb */ color: rgb(204, 63, 197);
/* oklch */ color: oklch(61.9% 0.228 330.0);
Tailwind
colors: {
  custom: {
    50: '#df80d7',
    500: '#cc3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fc5;
$custom-light: #df80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fc5",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 302.979,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.22813,
    "h": 330
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#CC3FC5
secondary
#95D298
accent
#E14E47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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