#CA2DE2#CA2DE2

#CA2DE2 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 62.0% C 0.266 H 321.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA2DE2
RGBrgb(202, 45, 226)
HSLhsl(292, 76%, 53%)
HSVhsv(292, 80%, 89%)
CMYKcmyk(10.6%, 80.1%, 0%, 11.4%)
CIE-LABlab(51.75, 79.57, -58.81)
CIE-LCHlch(51.75, 98.94, 323.53°)
OKLaboklab(61.95% 0.2094 -0.1648)
OKLCHoklch(61.95% 0.266 321.8)
XYZxyz(39.0215, 19.9266, 73.7276)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DE2 #45E22D
analogous
#6F2DE2 #CA2DE2 #E22DA0
triadic
#CA2DE2 #E2CA2D #2DE2CA
tetradic
#CA2DE2 #E26F2D #45E22D #2DA0E2
square
#CA2DE2 #E26F2D #45E22D #2DA0E2
split-complementary
#CA2DE2 #A0E22D #2DE26F
monochromatic
#741283 #A319B8 #CA2DE2 #D863E9 #E599F1

Accessibility & contrast

On white

4.21
#CA2DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CA2DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2DE2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DE2#FFFFFF#000000##000000
##CA2DE21.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#CC5589
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca2de2;
/* rgb */ color: rgb(202, 45, 226);
/* oklch */ color: oklch(62.0% 0.266 321.8);
Tailwind
colors: {
  custom: {
    50: '#df7aec',
    500: '#ca2de2',
    950: '#000000',
  },
}
SCSS
$custom: #ca2de2;
$custom-light: #df7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2de2",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 292.044,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.26648,
    "h": 321.8
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#CA2DE2
secondary
#99DC8E
accent
#F2354F
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CA2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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