#CC41B8#CC41B8

#CC41B8 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.216 H 334.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CC41B8
RGBrgb(204, 65, 184)
HSLhsl(309, 58%, 53%)
HSVhsv(309, 68%, 80%)
CMYKcmyk(0%, 68.1%, 9.8%, 20%)
CIE-LABlab(51.93, 67.09, -34.40)
CIE-LCHlch(51.93, 75.40, 332.85°)
OKLaboklab(61.4% 0.1947 -0.094)
OKLCHoklch(61.4% 0.216 334.2)
XYZxyz(35.4441, 20.0816, 47.3475)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC41B8 #41CC55
analogous
#9A41CC #CC41B8 #CC4173
triadic
#CC41B8 #B8CC41 #41B8CC
tetradic
#CC41B8 #CC9A41 #41CC55 #4173CC
square
#CC41B8 #CC9A41 #41CC55 #4173CC
split-complementary
#CC41B8 #73CC41 #41CC9A
monochromatic
#741F67 #A42C93 #CC41B8 #D971CA #E6A1DC

Accessibility & contrast

On white

4.19
#CC41B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CC41B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC41B8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC41B8#FFFFFF#000000##000000
##CC41B81.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBB
Deuteranopia (green-blind)
#6F83B5
Tritanopia (blue-blind)
#D54C77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc41b8;
/* rgb */ color: rgb(204, 65, 184);
/* oklch */ color: oklch(61.4% 0.216 334.2);
Tailwind
colors: {
  custom: {
    50: '#df81cd',
    500: '#cc41b8',
    950: '#000000',
  },
}
SCSS
$custom: #cc41b8;
$custom-light: #df81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc41b8",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 308.633,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.614,
    "c": 0.21618,
    "h": 334.2
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#CC41B8
secondary
#96D39F
accent
#E15D47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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