#CA2AB7#CA2AB7

#CA2AB7 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.2% C 0.238 H 333.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CA2AB7
RGBrgb(202, 42, 183)
HSLhsl(307, 66%, 48%)
HSVhsv(307, 79%, 79%)
CMYKcmyk(0%, 79.2%, 9.4%, 20.8%)
CIE-LABlab(49.05, 73.62, -38.37)
CIE-LCHlch(49.05, 83.02, 332.47°)
OKLaboklab(59.25% 0.2136 -0.1053)
OKLCHoklch(59.25% 0.238 333.8)
XYZxyz(33.7326, 17.6344, 46.4178)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AB7 #2ACA3D
analogous
#8D2ACA #CA2AB7 #CA2A67
triadic
#CA2AB7 #B7CA2A #2AB7CA
tetradic
#CA2AB7 #CA8D2A #2ACA3D #2A67CA
square
#CA2AB7 #CA8D2A #2ACA3D #2A67CA
split-complementary
#CA2AB7 #67CA2A #2ACA8D
monochromatic
#65155B #971F89 #CA2AB7 #DC55CC #E688DB

Accessibility & contrast

On white

4.64
#CA2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2AB7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AB7#FFFFFF#000000##FFFFFF
##CA2AB71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BB
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#D43C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca2ab7;
/* rgb */ color: rgb(202, 42, 183);
/* oklch */ color: oklch(59.2% 0.238 333.8);
Tailwind
colors: {
  custom: {
    50: '#de77cd',
    500: '#ca2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ab7;
$custom-light: #de77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ab7",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 307.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.23811,
    "h": 333.8
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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