#CA2EB4#CA2EB4

#CA2EB4 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.4% C 0.233 H 334.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CA2EB4
RGBrgb(202, 46, 180)
HSLhsl(308, 63%, 49%)
HSVhsv(308, 77%, 79%)
CMYKcmyk(0%, 77.2%, 10.9%, 20.8%)
CIE-LABlab(49.26, 72.13, -36.28)
CIE-LCHlch(49.26, 80.74, 333.30°)
OKLaboklab(59.35% 0.2103 -0.0993)
OKLCHoklch(59.35% 0.233 334.7)
XYZxyz(33.5727, 17.8089, 44.8405)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2EB4 #2ECA44
analogous
#922ECA #CA2EB4 #CA2E66
triadic
#CA2EB4 #B4CA2E #2EB4CA
tetradic
#CA2EB4 #CA922E #2ECA44 #2E66CA
square
#CA2EB4 #CA922E #2ECA44 #2E66CA
split-complementary
#CA2EB4 #66CA2E #2ECA92
monochromatic
#66175B #982388 #CA2EB4 #DA5BC8 #E58DD9

Accessibility & contrast

On white

4.60
#CA2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CA2EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2EB4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2EB4#FFFFFF#000000##FFFFFF
##CA2EB41.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B8
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#D43D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca2eb4;
/* rgb */ color: rgb(202, 46, 180);
/* oklch */ color: oklch(59.4% 0.233 334.7);
Tailwind
colors: {
  custom: {
    50: '#de78cb',
    500: '#ca2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ca2eb4;
$custom-light: #de78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2eb4",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 308.462,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.23259,
    "h": 334.7
  },
  "luminance": 0.17806
}

Semantic roles & 50–950 ramp

primary
#CA2EB4
secondary
#84CF8F
accent
#E65942
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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