#CA15B9#CA15B9

#CA15B9 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.4% C 0.253 H 333.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CA15B9
RGBrgb(202, 21, 185)
HSLhsl(306, 81%, 44%)
HSVhsv(306, 90%, 79%)
CMYKcmyk(0%, 89.6%, 8.4%, 20.8%)
CIE-LABlab(47.75, 77.99, -41.59)
CIE-LCHlch(47.75, 88.39, 331.93°)
OKLaboklab(58.36% 0.2256 -0.1145)
OKLCHoklch(58.36% 0.253 333.1)
XYZxyz(33.3825, 16.5987, 47.3353)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15B9 #15CA26
analogous
#8015CA #CA15B9 #CA155F
triadic
#CA15B9 #B9CA15 #15B9CA
tetradic
#CA15B9 #CA8015 #15CA26 #155FCA
square
#CA15B9 #CA8015 #15CA26 #155FCA
split-complementary
#CA15B9 #5FCA15 #15CA80
monochromatic
#5B0953 #930F86 #CA15B9 #EA32D9 #EF6AE3

Accessibility & contrast

On white

4.86
#CA15B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CA15B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15B9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15B9#FFFFFF#000000##FFFFFF
##CA15B91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#5E7AB5
Tritanopia (blue-blind)
#D3326E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca15b9;
/* rgb */ color: rgb(202, 21, 185);
/* oklch */ color: oklch(58.4% 0.253 333.1);
Tailwind
colors: {
  custom: {
    50: '#df72ce',
    500: '#ca15b9',
    950: '#000000',
  },
}
SCSS
$custom: #ca15b9;
$custom-light: #df72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15b9",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 185
  },
  "hsl": {
    "h": 305.635,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.25301,
    "h": 333.1
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#CA15B9
secondary
#66D570
accent
#F84330
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160914
muted
#847B82

Preview Lab

Preview with #CA15B9

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

Preview Lab → · Contrast checker → · Palette generator →

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