#CA15B3#CA15B3

#CA15B3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 58.0% C 0.249 H 334.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA15B3
RGBrgb(202, 21, 179)
HSLhsl(308, 81%, 44%)
HSVhsv(308, 90%, 79%)
CMYKcmyk(0%, 89.6%, 11.4%, 20.8%)
CIE-LABlab(47.43, 77.17, -38.58)
CIE-LCHlch(47.43, 86.27, 333.44°)
OKLaboklab(58.03% 0.2256 -0.1058)
OKLCHoklch(58.03% 0.249 334.9)
XYZxyz(32.7625, 16.3507, 44.0696)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15B3 #15CA2C
analogous
#8615CA #CA15B3 #CA1558
triadic
#CA15B3 #B3CA15 #15B3CA
tetradic
#CA15B3 #CA8615 #15CA2C #1558CA
square
#CA15B3 #CA8615 #15CA2C #1558CA
split-complementary
#CA15B3 #58CA15 #15CA86
monochromatic
#5B0951 #930F82 #CA15B3 #EA32D2 #EF6ADF

Accessibility & contrast

On white

4.92
#CA15B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CA15B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15B3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15B3#FFFFFF#000000##FFFFFF
##CA15B31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B7
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#D42E6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca15b3;
/* rgb */ color: rgb(202, 21, 179);
/* oklch */ color: oklch(58.0% 0.249 334.9);
Tailwind
colors: {
  custom: {
    50: '#df71ca',
    500: '#ca15b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca15b3;
$custom-light: #df71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15b3",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 179
  },
  "hsl": {
    "h": 307.624,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.24919,
    "h": 334.9
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#CA15B3
secondary
#66D574
accent
#F84A30
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160913
muted
#847B82

Preview Lab

Preview with #CA15B3

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

Preview Lab → · Contrast checker → · Palette generator →

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