#CA2EC2#CA2EC2

#CA2EC2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.1% C 0.242 H 330.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CA2EC2
RGBrgb(202, 46, 194)
HSLhsl(303, 63%, 49%)
HSVhsv(303, 77%, 79%)
CMYKcmyk(0%, 77.2%, 4%, 20.8%)
CIE-LABlab(49.99, 74.20, -43.29)
CIE-LCHlch(49.99, 85.90, 329.74°)
OKLaboklab(60.11% 0.2107 -0.1196)
OKLCHoklch(60.11% 0.242 330.4)
XYZxyz(35.0716, 18.4084, 52.7345)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2EC2 #2ECA36
analogous
#842ECA #CA2EC2 #CA2E74
triadic
#CA2EC2 #C2CA2E #2EC2CA
tetradic
#CA2EC2 #CA842E #2ECA36 #2E74CA
square
#CA2EC2 #CA842E #2ECA36 #2E74CA
split-complementary
#CA2EC2 #74CA2E #2ECA84
monochromatic
#661762 #982392 #CA2EC2 #DA5BD3 #E58DE1

Accessibility & contrast

On white

4.49
#CA2EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CA2EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2EC2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2EC2#FFFFFF#000000##000000
##CA2EC21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#D24577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca2ec2;
/* rgb */ color: rgb(202, 46, 194);
/* oklch */ color: oklch(60.1% 0.242 330.4);
Tailwind
colors: {
  custom: {
    50: '#de79d5',
    500: '#ca2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ec2;
$custom-light: #de79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ec2",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 303.077,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.24227,
    "h": 330.4
  },
  "luminance": 0.18406
}

Semantic roles & 50–950 ramp

primary
#CA2EC2
secondary
#84CF88
accent
#E64A42
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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