#CC41BA#CC41BA

#CC41BA is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.218 H 333.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC41BA
RGBrgb(204, 65, 186)
HSLhsl(308, 58%, 53%)
HSVhsv(308, 68%, 80%)
CMYKcmyk(0%, 68.1%, 8.8%, 20%)
CIE-LABlab(52.02, 67.40, -35.42)
CIE-LCHlch(52.02, 76.13, 332.28°)
OKLaboklab(61.5% 0.1949 -0.0969)
OKLCHoklch(61.5% 0.218 333.6)
XYZxyz(35.6553, 20.1661, 48.4594)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC41BA #41CC53
analogous
#9941CC #CC41BA #CC4174
triadic
#CC41BA #BACC41 #41BACC
tetradic
#CC41BA #CC9941 #41CC53 #4174CC
square
#CC41BA #CC9941 #41CC53 #4174CC
split-complementary
#CC41BA #74CC41 #41CC99
monochromatic
#741F69 #A42C94 #CC41BA #D971CC #E6A1DD

Accessibility & contrast

On white

4.17
#CC41BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC41BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC41BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC41BA#FFFFFF#000000##000000
##CC41BA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#6E83B7
Tritanopia (blue-blind)
#D54D78
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc41ba;
/* rgb */ color: rgb(204, 65, 186);
/* oklch */ color: oklch(61.5% 0.218 333.6);
Tailwind
colors: {
  custom: {
    50: '#df81cf',
    500: '#cc41ba',
    950: '#000000',
  },
}
SCSS
$custom: #cc41ba;
$custom-light: #df81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc41ba",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 307.77,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.615,
    "c": 0.21763,
    "h": 333.6
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#CC41BA
secondary
#96D39E
accent
#E15B47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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