#CA15B4#CA15B4

#CA15B4 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.1% C 0.250 H 334.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CA15B4
RGBrgb(202, 21, 180)
HSLhsl(307, 81%, 44%)
HSVhsv(307, 90%, 79%)
CMYKcmyk(0%, 89.6%, 10.9%, 20.8%)
CIE-LABlab(47.48, 77.30, -39.08)
CIE-LCHlch(47.48, 86.62, 333.18°)
OKLaboklab(58.08% 0.2256 -0.1073)
OKLCHoklch(58.08% 0.25 334.6)
XYZxyz(32.8640, 16.3913, 44.6042)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15B4 #15CA2B
analogous
#8515CA #CA15B4 #CA1559
triadic
#CA15B4 #B4CA15 #15B4CA
tetradic
#CA15B4 #CA8515 #15CA2B #1559CA
square
#CA15B4 #CA8515 #15CA2B #1559CA
split-complementary
#CA15B4 #59CA15 #15CA85
monochromatic
#5B0951 #930F83 #CA15B4 #EA32D3 #EF6ADF

Accessibility & contrast

On white

4.91
#CA15B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CA15B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15B4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15B4#FFFFFF#000000##FFFFFF
##CA15B41.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B8
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#D42F6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca15b4;
/* rgb */ color: rgb(202, 21, 180);
/* oklch */ color: oklch(58.1% 0.250 334.6);
Tailwind
colors: {
  custom: {
    50: '#df71cb',
    500: '#ca15b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca15b4;
$custom-light: #df71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15b4",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 307.293,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.24982,
    "h": 334.6
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#CA15B4
secondary
#66D573
accent
#F84830
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160913
muted
#847B82

Preview Lab

Preview with #CA15B4

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

Preview Lab → · Contrast checker → · Palette generator →

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