#CA3EC2#CA3EC2

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

Color values

HEX#CA3EC2
RGBrgb(202, 62, 194)
HSLhsl(303, 57%, 52%)
HSVhsv(303, 69%, 79%)
CMYKcmyk(0%, 69.3%, 4%, 20.8%)
CIE-LABlab(51.72, 69.24, -40.55)
CIE-LCHlch(51.72, 80.24, 329.65°)
OKLaboklab(61.35% 0.1964 -0.1117)
OKLCHoklch(61.35% 0.226 330.4)
XYZxyz(35.8172, 19.8996, 52.9830)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3EC2 #3ECA46
analogous
#8C3ECA #CA3EC2 #CA3E7C
triadic
#CA3EC2 #C2CA3E #3EC2CA
tetradic
#CA3EC2 #CA8C3E #3ECA46 #3E7CCA
square
#CA3EC2 #CA8C3E #3ECA46 #3E7CCA
split-complementary
#CA3EC2 #7CCA3E #3ECA8C
monochromatic
#6F1F6A #9F2C99 #CA3EC2 #D76ED1 #E49EE0

Accessibility & contrast

On white

4.22
#CA3EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA3EC2#FFFFFF#000000##000000
##CA3EC21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#D24F7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca3ec2;
/* rgb */ color: rgb(202, 62, 194);
/* oklch */ color: oklch(61.3% 0.226 330.4);
Tailwind
colors: {
  custom: {
    50: '#de7fd5',
    500: '#ca3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ca3ec2;
$custom-light: #de7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3ec2",
  "rgb": {
    "r": 202,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 303.429,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.226,
    "h": 330.4
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#CA3EC2
secondary
#93D197
accent
#E05048
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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