#CA2AB4#CA2AB4

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

Color values

HEX#CA2AB4
RGBrgb(202, 42, 180)
HSLhsl(308, 66%, 48%)
HSVhsv(308, 79%, 79%)
CMYKcmyk(0%, 79.2%, 10.9%, 20.8%)
CIE-LABlab(48.90, 73.19, -36.85)
CIE-LCHlch(48.90, 81.94, 333.27°)
OKLaboklab(59.09% 0.2134 -0.1009)
OKLCHoklch(59.09% 0.236 334.7)
XYZxyz(33.4237, 17.5108, 44.7908)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AB4 #2ACA40
analogous
#902ACA #CA2AB4 #CA2A64
triadic
#CA2AB4 #B4CA2A #2AB4CA
tetradic
#CA2AB4 #CA902A #2ACA40 #2A64CA
square
#CA2AB4 #CA902A #2ACA40 #2A64CA
split-complementary
#CA2AB4 #64CA2A #2ACA90
monochromatic
#65155A #971F87 #CA2AB4 #DC55C9 #E688D9

Accessibility & contrast

On white

4.67
#CA2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CA2AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2AB4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AB4#FFFFFF#000000##FFFFFF
##CA2AB41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B8
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#D43A6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2ab4;
/* rgb */ color: rgb(202, 42, 180);
/* oklch */ color: oklch(59.1% 0.236 334.7);
Tailwind
colors: {
  custom: {
    50: '#de77cb',
    500: '#ca2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ab4;
$custom-light: #de77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ab4",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 308.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.2361,
    "h": 334.7
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#CA2AB4
secondary
#80D08B
accent
#E9573F
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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