#CA15AF#CA15AF

#CA15AF is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.8% C 0.247 H 336.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA15AF
RGBrgb(202, 21, 175)
HSLhsl(309, 81%, 44%)
HSVhsv(309, 90%, 79%)
CMYKcmyk(0%, 89.6%, 13.4%, 20.8%)
CIE-LABlab(47.22, 76.63, -36.55)
CIE-LCHlch(47.22, 84.90, 334.50°)
OKLaboklab(57.82% 0.2255 -0.1)
OKLCHoklch(57.82% 0.247 336.1)
XYZxyz(32.3638, 16.1912, 41.9699)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15AF #15CA30
analogous
#8A15CA #CA15AF #CA1554
triadic
#CA15AF #AFCA15 #15AFCA
tetradic
#CA15AF #CA8A15 #15CA30 #1554CA
square
#CA15AF #CA8A15 #15CA30 #1554CA
split-complementary
#CA15AF #54CA15 #15CA8A
monochromatic
#5B094F #930F7F #CA15AF #EA32CE #EF6ADC

Accessibility & contrast

On white

4.96
#CA15AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#CA15AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15AF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15AF#FFFFFF#000000##FFFFFF
##CA15AF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1960B3
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#D52B68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca15af;
/* rgb */ color: rgb(202, 21, 175);
/* oklch */ color: oklch(57.8% 0.247 336.1);
Tailwind
colors: {
  custom: {
    50: '#df71c7',
    500: '#ca15af',
    950: '#000000',
  },
}
SCSS
$custom: #ca15af;
$custom-light: #df71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15af",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 175
  },
  "hsl": {
    "h": 308.95,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57815,
    "c": 0.24669,
    "h": 336.1
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#CA15AF
secondary
#66D576
accent
#F84E30
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160913
muted
#847B82

Preview Lab

Preview with #CA15AF

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

Preview Lab → · Contrast checker → · Palette generator →

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