#CA15BA#CA15BA

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

Color values

HEX#CA15BA
RGBrgb(202, 21, 186)
HSLhsl(305, 81%, 44%)
HSVhsv(305, 90%, 79%)
CMYKcmyk(0%, 89.6%, 7.9%, 20.8%)
CIE-LABlab(47.80, 78.13, -42.09)
CIE-LCHlch(47.80, 88.75, 331.68°)
OKLaboklab(58.41% 0.2256 -0.116)
OKLCHoklch(58.41% 0.254 332.8)
XYZxyz(33.4885, 16.6411, 47.8932)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15BA #15CA25
analogous
#7F15CA #CA15BA #CA155F
triadic
#CA15BA #BACA15 #15BACA
tetradic
#CA15BA #CA7F15 #15CA25 #155FCA
square
#CA15BA #CA7F15 #15CA25 #155FCA
split-complementary
#CA15BA #5FCA15 #15CA7F
monochromatic
#5B0954 #930F87 #CA15BA #EA32DA #EF6AE4

Accessibility & contrast

On white

4.85
#CA15BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CA15BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15BA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15BA#FFFFFF#000000##FFFFFF
##CA15BA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#D3336E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca15ba;
/* rgb */ color: rgb(202, 21, 186);
/* oklch */ color: oklch(58.4% 0.254 332.8);
Tailwind
colors: {
  custom: {
    50: '#df72cf',
    500: '#ca15ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca15ba;
$custom-light: #df72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15ba",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 186
  },
  "hsl": {
    "h": 305.304,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.25365,
    "h": 332.8
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA15BA

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

Preview Lab → · Contrast checker → · Palette generator →

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