#CA2AB8#CA2AB8

#CA2AB8 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.3% C 0.239 H 333.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CA2AB8
RGBrgb(202, 42, 184)
HSLhsl(307, 66%, 48%)
HSVhsv(307, 79%, 79%)
CMYKcmyk(0%, 79.2%, 8.9%, 20.8%)
CIE-LABlab(49.10, 73.76, -38.87)
CIE-LCHlch(49.10, 83.38, 332.21°)
OKLaboklab(59.3% 0.2136 -0.1068)
OKLCHoklch(59.3% 0.239 333.4)
XYZxyz(33.8371, 17.6762, 46.9679)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AB8 #2ACA3C
analogous
#8C2ACA #CA2AB8 #CA2A68
triadic
#CA2AB8 #B8CA2A #2AB8CA
tetradic
#CA2AB8 #CA8C2A #2ACA3C #2A68CA
square
#CA2AB8 #CA8C2A #2ACA3C #2A68CA
split-complementary
#CA2AB8 #68CA2A #2ACA8C
monochromatic
#65155C #971F8A #CA2AB8 #DC55CD #E688DC

Accessibility & contrast

On white

4.63
#CA2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CA2AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2AB8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AB8#FFFFFF#000000##FFFFFF
##CA2AB81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BC
Deuteranopia (green-blind)
#647DB4
Tritanopia (blue-blind)
#D33D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca2ab8;
/* rgb */ color: rgb(202, 42, 184);
/* oklch */ color: oklch(59.3% 0.239 333.4);
Tailwind
colors: {
  custom: {
    50: '#de77ce',
    500: '#ca2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ab8;
$custom-light: #de77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ab8",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 306.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.23879,
    "h": 333.4
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#CA2AB8
secondary
#80D089
accent
#E9523F
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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