#CA15B7#CA15B7

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

Color values

HEX#CA15B7
RGBrgb(202, 21, 183)
HSLhsl(306, 81%, 44%)
HSVhsv(306, 90%, 79%)
CMYKcmyk(0%, 89.6%, 9.4%, 20.8%)
CIE-LABlab(47.64, 77.71, -40.59)
CIE-LCHlch(47.64, 87.67, 332.42°)
OKLaboklab(58.25% 0.2256 -0.1116)
OKLCHoklch(58.25% 0.252 333.7)
XYZxyz(33.1729, 16.5149, 46.2312)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15B7 #15CA28
analogous
#8215CA #CA15B7 #CA155C
triadic
#CA15B7 #B7CA15 #15B7CA
tetradic
#CA15B7 #CA8215 #15CA28 #155CCA
square
#CA15B7 #CA8215 #15CA28 #155CCA
split-complementary
#CA15B7 #5CCA15 #15CA82
monochromatic
#5B0953 #930F85 #CA15B7 #EA32D6 #EF6AE1

Accessibility & contrast

On white

4.88
#CA15B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CA15B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15B7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15B7#FFFFFF#000000##FFFFFF
##CA15B71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0361BB
Deuteranopia (green-blind)
#5F7AB3
Tritanopia (blue-blind)
#D4316D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca15b7;
/* rgb */ color: rgb(202, 21, 183);
/* oklch */ color: oklch(58.2% 0.252 333.7);
Tailwind
colors: {
  custom: {
    50: '#df72cd',
    500: '#ca15b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca15b7;
$custom-light: #df72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15b7",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 183
  },
  "hsl": {
    "h": 306.298,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.25173,
    "h": 333.7
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA15B7

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

Preview Lab → · Contrast checker → · Palette generator →

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