#CA15B1#CA15B1

#CA15B1 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.248 H 335.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CA15B1
RGBrgb(202, 21, 177)
HSLhsl(308, 81%, 44%)
HSVhsv(308, 90%, 79%)
CMYKcmyk(0%, 89.6%, 12.4%, 20.8%)
CIE-LABlab(47.33, 76.90, -37.56)
CIE-LCHlch(47.33, 85.58, 333.96°)
OKLaboklab(57.92% 0.2256 -0.1029)
OKLCHoklch(57.92% 0.248 335.5)
XYZxyz(32.5617, 16.2704, 43.0121)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15B1 #15CA2E
analogous
#8815CA #CA15B1 #CA1556
triadic
#CA15B1 #B1CA15 #15B1CA
tetradic
#CA15B1 #CA8815 #15CA2E #1556CA
square
#CA15B1 #CA8815 #15CA2E #1556CA
split-complementary
#CA15B1 #56CA15 #15CA88
monochromatic
#5B0950 #930F80 #CA15B1 #EA32D0 #EF6ADD

Accessibility & contrast

On white

4.94
#CA15B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#CA15B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15B1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15B1#FFFFFF#000000##FFFFFF
##CA15B11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#D52C69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca15b1;
/* rgb */ color: rgb(202, 21, 177);
/* oklch */ color: oklch(57.9% 0.248 335.5);
Tailwind
colors: {
  custom: {
    50: '#df71c9',
    500: '#ca15b1',
    950: '#000000',
  },
}
SCSS
$custom: #ca15b1;
$custom-light: #df71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15b1",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 177
  },
  "hsl": {
    "h": 308.287,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.24794,
    "h": 335.5
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#CA15B1
secondary
#66D575
accent
#F84C30
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160913
muted
#847B82

Preview Lab

Preview with #CA15B1

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

Preview Lab → · Contrast checker → · Palette generator →

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