#CA41C2#CA41C2

#CA41C2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.222 H 330.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CA41C2
RGBrgb(202, 65, 194)
HSLhsl(304, 56%, 52%)
HSVhsv(304, 68%, 79%)
CMYKcmyk(0%, 67.8%, 4%, 20.8%)
CIE-LABlab(52.10, 68.17, -39.95)
CIE-LCHlch(52.10, 79.01, 329.63°)
OKLaboklab(61.62% 0.1934 -0.11)
OKLCHoklch(61.62% 0.222 330.4)
XYZxyz(35.9849, 20.2349, 53.0389)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA41C2 #41CA49
analogous
#8E41CA #CA41C2 #CA417D
triadic
#CA41C2 #C2CA41 #41C2CA
tetradic
#CA41C2 #CA8E41 #41CA49 #417DCA
square
#CA41C2 #CA8E41 #41CA49 #417DCA
split-complementary
#CA41C2 #7DCA41 #41CA8E
monochromatic
#71206C #A12D9A #CA41C2 #D771D1 #E5A1E1

Accessibility & contrast

On white

4.16
#CA41C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CA41C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA41C2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA41C2#FFFFFF#000000##000000
##CA41C21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C6
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#D2517C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca41c2;
/* rgb */ color: rgb(202, 65, 194);
/* oklch */ color: oklch(61.6% 0.222 330.4);
Tailwind
colors: {
  custom: {
    50: '#de81d5',
    500: '#ca41c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca41c2;
$custom-light: #de81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca41c2",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 303.504,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.22248,
    "h": 330.4
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#CA41C2
secondary
#96D199
accent
#E05148
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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