#CA4EC2#CA4EC2

#CA4EC2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 62.9% C 0.206 H 330.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CA4EC2
RGBrgb(202, 78, 194)
HSLhsl(304, 54%, 55%)
HSVhsv(304, 61%, 79%)
CMYKcmyk(0%, 61.4%, 4%, 20.8%)
CIE-LABlab(53.92, 63.09, -37.08)
CIE-LCHlch(53.92, 73.18, 329.56°)
OKLaboklab(62.94% 0.1788 -0.1019)
OKLCHoklch(62.94% 0.206 330.3)
XYZxyz(36.8189, 21.9030, 53.3169)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EC2 #4ECA56
analogous
#944ECA #CA4EC2 #CA4E84
triadic
#CA4EC2 #C2CA4E #4EC2CA
tetradic
#CA4EC2 #CA944E #4ECA56 #4E84CA
square
#CA4EC2 #CA944E #4ECA56 #4E84CA
split-complementary
#CA4EC2 #84CA4E #4ECA94
monochromatic
#792474 #A832A1 #CA4EC2 #D87DD2 #E6ACE2

Accessibility & contrast

On white

3.90
#CA4EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CA4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EC2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EC2#FFFFFF#000000##000000
##CA4EC21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C6
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#D15B81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca4ec2;
/* rgb */ color: rgb(202, 78, 194);
/* oklch */ color: oklch(62.9% 0.206 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd87d5',
    500: '#ca4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ec2;
$custom-light: #dd87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ec2",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 303.871,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62943,
    "c": 0.20577,
    "h": 330.3
  },
  "luminance": 0.219
}

Semantic roles & 50–950 ramp

primary
#CA4EC2
secondary
#A0D4A3
accent
#DD544B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CA4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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