#CA2DCA#CA2DCA

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

Color values

HEX#CA2DCA
RGBrgb(202, 45, 202)
HSLhsl(300, 64%, 48%)
HSVhsv(300, 78%, 79%)
CMYKcmyk(0%, 77.7%, 0%, 20.8%)
CIE-LABlab(50.33, 75.69, -47.36)
CIE-LCHlch(50.33, 89.29, 327.96°)
OKLaboklab(60.49% 0.2113 -0.1314)
OKLCHoklch(60.49% 0.249 328.1)
XYZxyz(35.9558, 18.7003, 57.5814)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DCA #2DCA2D
analogous
#7B2DCA #CA2DCA #CA2D7B
triadic
#CA2DCA #CACA2D #2DCACA
tetradic
#CA2DCA #CA7B2D #2DCA2D #2D7BCA
square
#CA2DCA #CA7B2D #2DCA2D #2D7BCA
split-complementary
#CA2DCA #7BCA2D #2DCA7B
monochromatic
#661766 #982298 #CA2DCA #DA5ADA #E58CE5

Accessibility & contrast

On white

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

On black

4.74
#CA2DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2DCA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DCA#FFFFFF#000000##000000
##CA2DCA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#5B7FC6
Tritanopia (blue-blind)
#D0487C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2dca;
/* rgb */ color: rgb(202, 45, 202);
/* oklch */ color: oklch(60.5% 0.249 328.1);
Tailwind
colors: {
  custom: {
    50: '#de79db',
    500: '#ca2dca',
    950: '#000000',
  },
}
SCSS
$custom: #ca2dca;
$custom-light: #de79db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2dca",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.24883,
    "h": 328.1
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#CA2DCA
secondary
#83CF83
accent
#E74141
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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