#CC41C2#CC41C2

#CC41C2 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.224 H 331.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC41C2
RGBrgb(204, 65, 194)
HSLhsl(304, 58%, 53%)
HSVhsv(304, 68%, 80%)
CMYKcmyk(0%, 68.1%, 4.9%, 20%)
CIE-LABlab(52.42, 68.63, -39.43)
CIE-LCHlch(52.42, 79.16, 330.12°)
OKLaboklab(61.91% 0.1955 -0.1085)
OKLCHoklch(61.91% 0.224 331)
XYZxyz(36.5296, 20.5158, 53.0644)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC41C2 #41CC4B
analogous
#9141CC #CC41C2 #CC417C
triadic
#CC41C2 #C2CC41 #41C2CC
tetradic
#CC41C2 #CC9141 #41CC4B #417CCC
square
#CC41C2 #CC9141 #41CC4B #417CCC
split-complementary
#CC41C2 #7CCC41 #41CC91
monochromatic
#741F6D #A42C9B #CC41C2 #D971D1 #E6A1E1

Accessibility & contrast

On white

4.12
#CC41C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CC41C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC41C2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC41C2#FFFFFF#000000##000000
##CC41C21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3671C6
Deuteranopia (green-blind)
#6A84BE
Tritanopia (blue-blind)
#D4517D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc41c2;
/* rgb */ color: rgb(204, 65, 194);
/* oklch */ color: oklch(61.9% 0.224 331.0);
Tailwind
colors: {
  custom: {
    50: '#df81d5',
    500: '#cc41c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc41c2;
$custom-light: #df81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc41c2",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 304.317,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61909,
    "c": 0.22355,
    "h": 331
  },
  "luminance": 0.20513
}

Semantic roles & 50–950 ramp

primary
#CC41C2
secondary
#96D39B
accent
#E15247
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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