#CA2DC9#CA2DC9

#CA2DC9 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.4% C 0.248 H 328.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA2DC9
RGBrgb(202, 45, 201)
HSLhsl(300, 64%, 48%)
HSVhsv(300, 78%, 79%)
CMYKcmyk(0%, 77.7%, 0.5%, 20.8%)
CIE-LABlab(50.28, 75.53, -46.88)
CIE-LCHlch(50.28, 88.90, 328.18°)
OKLaboklab(60.44% 0.2113 -0.13)
OKLCHoklch(60.44% 0.248 328.4)
XYZxyz(35.8377, 18.6531, 56.9599)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DC9 #2DCA2E
analogous
#7C2DCA #CA2DC9 #CA2D7A
triadic
#CA2DC9 #C9CA2D #2DC9CA
tetradic
#CA2DC9 #CA7C2D #2DCA2E #2D7ACA
square
#CA2DC9 #CA7C2D #2DCA2E #2D7ACA
split-complementary
#CA2DC9 #7ACA2D #2DCA7C
monochromatic
#661765 #982297 #CA2DC9 #DA5AD9 #E58CE5

Accessibility & contrast

On white

4.44
#CA2DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CA2DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2DC9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DC9#FFFFFF#000000##000000
##CA2DC91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.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: #ca2dc9;
/* rgb */ color: rgb(202, 45, 201);
/* oklch */ color: oklch(60.4% 0.248 328.4);
Tailwind
colors: {
  custom: {
    50: '#de79da',
    500: '#ca2dc9',
    950: '#000000',
  },
}
SCSS
$custom: #ca2dc9;
$custom-light: #de79da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2dc9",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 300.382,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.24811,
    "h": 328.4
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#CA2DC9
secondary
#83CF84
accent
#E74241
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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