#CA15B5#CA15B5

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

Color values

HEX#CA15B5
RGBrgb(202, 21, 181)
HSLhsl(307, 81%, 44%)
HSVhsv(307, 90%, 79%)
CMYKcmyk(0%, 89.6%, 10.4%, 20.8%)
CIE-LABlab(47.54, 77.44, -39.59)
CIE-LCHlch(47.54, 86.97, 332.92°)
OKLaboklab(58.14% 0.2256 -0.1087)
OKLCHoklch(58.14% 0.25 334.3)
XYZxyz(32.9662, 16.4322, 45.1426)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15B5 #15CA2A
analogous
#8415CA #CA15B5 #CA155A
triadic
#CA15B5 #B5CA15 #15B5CA
tetradic
#CA15B5 #CA8415 #15CA2A #155ACA
square
#CA15B5 #CA8415 #15CA2A #155ACA
split-complementary
#CA15B5 #5ACA15 #15CA84
monochromatic
#5B0952 #930F83 #CA15B5 #EA32D4 #EF6AE0

Accessibility & contrast

On white

4.90
#CA15B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CA15B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15B5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15B5#FFFFFF#000000##FFFFFF
##CA15B51.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A61B9
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#D42F6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca15b5;
/* rgb */ color: rgb(202, 21, 181);
/* oklch */ color: oklch(58.1% 0.250 334.3);
Tailwind
colors: {
  custom: {
    50: '#df71cb',
    500: '#ca15b5',
    950: '#000000',
  },
}
SCSS
$custom: #ca15b5;
$custom-light: #df71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15b5",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 181
  },
  "hsl": {
    "h": 306.961,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.25045,
    "h": 334.3
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#CA15B5
secondary
#66D573
accent
#F84730
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160913
muted
#847B82

Preview Lab

Preview with #CA15B5

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

Preview Lab → · Contrast checker → · Palette generator →

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