#CA2CB1#CA2CB1

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

Color values

HEX#CA2CB1
RGBrgb(202, 44, 177)
HSLhsl(309, 64%, 48%)
HSVhsv(309, 78%, 79%)
CMYKcmyk(0%, 78.2%, 12.4%, 20.8%)
CIE-LABlab(48.93, 72.25, -35.04)
CIE-LCHlch(48.93, 80.30, 334.12°)
OKLaboklab(59.06% 0.2117 -0.0958)
OKLCHoklch(59.06% 0.232 335.7)
XYZxyz(33.1941, 17.5353, 43.2229)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2CB1 #2CCA45
analogous
#942CCA #CA2CB1 #CA2C62
triadic
#CA2CB1 #B1CA2C #2CB1CA
tetradic
#CA2CB1 #CA942C #2CCA45 #2C62CA
square
#CA2CB1 #CA942C #2CCA45 #2C62CA
split-complementary
#CA2CB1 #62CA2C #2CCA94
monochromatic
#651659 #982185 #CA2CB1 #DB58C6 #E68BD7

Accessibility & contrast

On white

4.66
#CA2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CA2CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2CB1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2CB1#FFFFFF#000000##FFFFFF
##CA2CB11.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B4
Deuteranopia (green-blind)
#687CAD
Tritanopia (blue-blind)
#D43A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2cb1;
/* rgb */ color: rgb(202, 44, 177);
/* oklch */ color: oklch(59.1% 0.232 335.7);
Tailwind
colors: {
  custom: {
    50: '#de78c8',
    500: '#ca2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #ca2cb1;
$custom-light: #de78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2cb1",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 309.494,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.23239,
    "h": 335.7
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#CA2CB1
secondary
#82D08E
accent
#E75B41
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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