#CA2EC9#CA2EC9

#CA2EC9 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.5% C 0.247 H 328.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CA2EC9
RGBrgb(202, 46, 201)
HSLhsl(300, 63%, 49%)
HSVhsv(300, 77%, 79%)
CMYKcmyk(0%, 77.2%, 0.5%, 20.8%)
CIE-LABlab(50.37, 75.27, -46.73)
CIE-LCHlch(50.37, 88.60, 328.17°)
OKLaboklab(60.5% 0.2106 -0.1296)
OKLCHoklch(60.5% 0.247 328.4)
XYZxyz(35.8763, 18.7303, 56.9728)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2EC9 #2ECA2F
analogous
#7D2ECA #CA2EC9 #CA2E7B
triadic
#CA2EC9 #C9CA2E #2EC9CA
tetradic
#CA2EC9 #CA7D2E #2ECA2F #2E7BCA
square
#CA2EC9 #CA7D2E #2ECA2F #2E7BCA
split-complementary
#CA2EC9 #7BCA2E #2ECA7D
monochromatic
#661766 #982397 #CA2EC9 #DA5BD9 #E58DE5

Accessibility & contrast

On white

4.43
#CA2EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CA2EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2EC9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2EC9#FFFFFF#000000##000000
##CA2EC91.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#D1487B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2ec9;
/* rgb */ color: rgb(202, 46, 201);
/* oklch */ color: oklch(60.5% 0.247 328.4);
Tailwind
colors: {
  custom: {
    50: '#de79da',
    500: '#ca2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ec9;
$custom-light: #de79da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ec9",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 300.385,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.24726,
    "h": 328.4
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#CA2EC9
secondary
#84CF85
accent
#E64342
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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