#CA2AB9#CA2AB9

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

Color values

HEX#CA2AB9
RGBrgb(202, 42, 185)
HSLhsl(306, 66%, 48%)
HSVhsv(306, 79%, 79%)
CMYKcmyk(0%, 79.2%, 8.4%, 20.8%)
CIE-LABlab(49.15, 73.91, -39.38)
CIE-LCHlch(49.15, 83.74, 331.95°)
OKLaboklab(59.36% 0.2136 -0.1082)
OKLCHoklch(59.36% 0.239 333.1)
XYZxyz(33.9423, 17.7182, 47.5219)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AB9 #2ACA3B
analogous
#8B2ACA #CA2AB9 #CA2A69
triadic
#CA2AB9 #B9CA2A #2AB9CA
tetradic
#CA2AB9 #CA8B2A #2ACA3B #2A69CA
square
#CA2AB9 #CA8B2A #2ACA3B #2A69CA
split-complementary
#CA2AB9 #69CA2A #2ACA8B
monochromatic
#65155C #971F8B #CA2AB9 #DC55CD #E688DC

Accessibility & contrast

On white

4.62
#CA2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CA2AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2AB9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AB9#FFFFFF#000000##FFFFFF
##CA2AB91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BD
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#D33D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca2ab9;
/* rgb */ color: rgb(202, 42, 185);
/* oklch */ color: oklch(59.4% 0.239 333.1);
Tailwind
colors: {
  custom: {
    50: '#de77ce',
    500: '#ca2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ab9;
$custom-light: #de77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ab9",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 306.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.23947,
    "h": 333.1
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#CA2AB9
secondary
#80D088
accent
#E9513F
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CA2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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