#CA2DB1#CA2DB1

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

Color values

HEX#CA2DB1
RGBrgb(202, 45, 177)
HSLhsl(310, 64%, 48%)
HSVhsv(310, 78%, 79%)
CMYKcmyk(0%, 77.7%, 12.4%, 20.8%)
CIE-LABlab(49.02, 71.98, -34.90)
CIE-LCHlch(49.02, 80.00, 334.14°)
OKLaboklab(59.13% 0.211 -0.0953)
OKLCHoklch(59.13% 0.231 335.7)
XYZxyz(33.2318, 17.6107, 43.2355)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DB1 #2DCA46
analogous
#942DCA #CA2DB1 #CA2D62
triadic
#CA2DB1 #B1CA2D #2DB1CA
tetradic
#CA2DB1 #CA942D #2DCA46 #2D62CA
square
#CA2DB1 #CA942D #2DCA46 #2D62CA
split-complementary
#CA2DB1 #62CA2D #2DCA94
monochromatic
#661759 #982285 #CA2DB1 #DA5AC6 #E58CD7

Accessibility & contrast

On white

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

On black

4.52
#CA2DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA2DB1#FFFFFF#000000##FFFFFF
##CA2DB11.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#687DAD
Tritanopia (blue-blind)
#D43A6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2db1;
/* rgb */ color: rgb(202, 45, 177);
/* oklch */ color: oklch(59.1% 0.231 335.7);
Tailwind
colors: {
  custom: {
    50: '#de78c8',
    500: '#ca2db1',
    950: '#000000',
  },
}
SCSS
$custom: #ca2db1;
$custom-light: #de78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2db1",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 309.554,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59131,
    "c": 0.23149,
    "h": 335.7
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#CA2DB1
secondary
#83CF8F
accent
#E75C41
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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