#CA15B6#CA15B6

#CA15B6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.2% C 0.251 H 334.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CA15B6
RGBrgb(202, 21, 182)
HSLhsl(307, 81%, 44%)
HSVhsv(307, 90%, 79%)
CMYKcmyk(0%, 89.6%, 9.9%, 20.8%)
CIE-LABlab(47.59, 77.57, -40.09)
CIE-LCHlch(47.59, 87.32, 332.67°)
OKLaboklab(58.19% 0.2256 -0.1102)
OKLCHoklch(58.19% 0.251 334)
XYZxyz(33.0692, 16.4734, 45.6850)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15B6 #15CA29
analogous
#8315CA #CA15B6 #CA155B
triadic
#CA15B6 #B6CA15 #15B6CA
tetradic
#CA15B6 #CA8315 #15CA29 #155BCA
square
#CA15B6 #CA8315 #15CA29 #155BCA
split-complementary
#CA15B6 #5BCA15 #15CA83
monochromatic
#5B0952 #930F84 #CA15B6 #EA32D5 #EF6AE1

Accessibility & contrast

On white

4.89
#CA15B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA15B6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15B6#FFFFFF#000000##FFFFFF
##CA15B61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761BA
Deuteranopia (green-blind)
#6079B2
Tritanopia (blue-blind)
#D4306C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca15b6;
/* rgb */ color: rgb(202, 21, 182);
/* oklch */ color: oklch(58.2% 0.251 334.0);
Tailwind
colors: {
  custom: {
    50: '#df72cc',
    500: '#ca15b6',
    950: '#000000',
  },
}
SCSS
$custom: #ca15b6;
$custom-light: #df72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15b6",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 182
  },
  "hsl": {
    "h": 306.63,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.25109,
    "h": 334
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#CA15B6
secondary
#66D572
accent
#F84630
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160913
muted
#847B82

Preview Lab

Preview with #CA15B6

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

Preview Lab → · Contrast checker → · Palette generator →

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