#CA2AB5#CA2AB5

#CA2AB5 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.237 H 334.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CA2AB5
RGBrgb(202, 42, 181)
HSLhsl(308, 66%, 48%)
HSVhsv(308, 79%, 79%)
CMYKcmyk(0%, 79.2%, 10.4%, 20.8%)
CIE-LABlab(48.95, 73.33, -37.36)
CIE-LCHlch(48.95, 82.30, 333.00°)
OKLaboklab(59.14% 0.2135 -0.1024)
OKLCHoklch(59.14% 0.237 334.4)
XYZxyz(33.5260, 17.5517, 45.3292)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AB5 #2ACA3F
analogous
#8F2ACA #CA2AB5 #CA2A65
triadic
#CA2AB5 #B5CA2A #2AB5CA
tetradic
#CA2AB5 #CA8F2A #2ACA3F #2A65CA
square
#CA2AB5 #CA8F2A #2ACA3F #2A65CA
split-complementary
#CA2AB5 #65CA2A #2ACA8F
monochromatic
#65155A #971F88 #CA2AB5 #DC55CA #E688DA

Accessibility & contrast

On white

4.66
#CA2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CA2AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2AB5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AB5#FFFFFF#000000##FFFFFF
##CA2AB51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666B9
Deuteranopia (green-blind)
#667CB1
Tritanopia (blue-blind)
#D43B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2ab5;
/* rgb */ color: rgb(202, 42, 181);
/* oklch */ color: oklch(59.1% 0.237 334.4);
Tailwind
colors: {
  custom: {
    50: '#de77cb',
    500: '#ca2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ab5;
$custom-light: #de77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ab5",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 307.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.23678,
    "h": 334.4
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#CA2AB5
secondary
#80D08A
accent
#E9553F
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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