#CA2ECA#CA2ECA

#CA2ECA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.6% C 0.248 H 328.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA2ECA
RGBrgb(202, 46, 202)
HSLhsl(300, 63%, 49%)
HSVhsv(300, 77%, 79%)
CMYKcmyk(0%, 77.2%, 0%, 20.8%)
CIE-LABlab(50.43, 75.43, -47.22)
CIE-LCHlch(50.43, 88.99, 327.95°)
OKLaboklab(60.56% 0.2106 -0.131)
OKLCHoklch(60.56% 0.248 328.1)
XYZxyz(35.9944, 18.7775, 57.5943)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2ECA #2ECA2E
analogous
#7C2ECA #CA2ECA #CA2E7C
triadic
#CA2ECA #CACA2E #2ECACA
tetradic
#CA2ECA #CA7C2E #2ECA2E #2E7CCA
square
#CA2ECA #CA7C2E #2ECA2E #2E7CCA
split-complementary
#CA2ECA #7CCA2E #2ECA7C
monochromatic
#661766 #982398 #CA2ECA #DA5BDA #E58DE5

Accessibility & contrast

On white

4.42
#CA2ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CA2ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2ECA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2ECA#FFFFFF#000000##000000
##CA2ECA1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2eca;
/* rgb */ color: rgb(202, 46, 202);
/* oklch */ color: oklch(60.6% 0.248 328.1);
Tailwind
colors: {
  custom: {
    50: '#de79db',
    500: '#ca2eca',
    950: '#000000',
  },
}
SCSS
$custom: #ca2eca;
$custom-light: #de79db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2eca",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.24798,
    "h": 328.1
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#CA2ECA
secondary
#84CF84
accent
#E64242
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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