#CC3FC3#CC3FC3

#CC3FC3 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.227 H 330.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC3FC3
RGBrgb(204, 63, 195)
HSLhsl(304, 58%, 52%)
HSVhsv(304, 69%, 80%)
CMYKcmyk(0%, 69.1%, 4.4%, 20%)
CIE-LABlab(52.21, 69.50, -40.33)
CIE-LCHlch(52.21, 80.35, 329.88°)
OKLaboklab(61.78% 0.1976 -0.1111)
OKLCHoklch(61.78% 0.227 330.7)
XYZxyz(36.5295, 20.3353, 53.6203)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FC3 #3FCC48
analogous
#8F3FCC #CC3FC3 #CC3F7C
triadic
#CC3FC3 #C3CC3F #3FC3CC
tetradic
#CC3FC3 #CC8F3F #3FCC48 #3F7CCC
square
#CC3FC3 #CC8F3F #3FCC48 #3F7CCC
split-complementary
#CC3FC3 #7CCC3F #3FCC8F
monochromatic
#721E6D #A32B9B #CC3FC3 #D96FD2 #E6A0E1

Accessibility & contrast

On white

4.14
#CC3FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC3FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FC3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FC3#FFFFFF#000000##000000
##CC3FC31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C7
Deuteranopia (green-blind)
#6983BF
Tritanopia (blue-blind)
#D4507C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc3fc3;
/* rgb */ color: rgb(204, 63, 195);
/* oklch */ color: oklch(61.8% 0.227 330.7);
Tailwind
colors: {
  custom: {
    50: '#df80d5',
    500: '#cc3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fc3;
$custom-light: #df80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fc3",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 303.83,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.22663,
    "h": 330.7
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#CC3FC3
secondary
#95D299
accent
#E15047
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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