#CA2CCA#CA2CCA

#CA2CCA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.4% C 0.250 H 328.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA2CCA
RGBrgb(202, 44, 202)
HSLhsl(300, 64%, 48%)
HSVhsv(300, 78%, 79%)
CMYKcmyk(0%, 78.2%, 0%, 20.8%)
CIE-LABlab(50.25, 75.95, -47.51)
CIE-LCHlch(50.25, 89.58, 327.97°)
OKLaboklab(60.43% 0.212 -0.1318)
OKLCHoklch(60.43% 0.25 328.1)
XYZxyz(35.9181, 18.6249, 57.5689)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2CCA #2CCA2C
analogous
#7B2CCA #CA2CCA #CA2C7B
triadic
#CA2CCA #CACA2C #2CCACA
tetradic
#CA2CCA #CA7B2C #2CCA2C #2C7BCA
square
#CA2CCA #CA7B2C #2CCA2C #2C7BCA
split-complementary
#CA2CCA #7BCA2C #2CCA7B
monochromatic
#651665 #982198 #CA2CCA #DB58DB #E68BE6

Accessibility & contrast

On white

4.45
#CA2CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CA2CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2CCA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2CCA#FFFFFF#000000##000000
##CA2CCA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2cca;
/* rgb */ color: rgb(202, 44, 202);
/* oklch */ color: oklch(60.4% 0.250 328.1);
Tailwind
colors: {
  custom: {
    50: '#de79db',
    500: '#ca2cca',
    950: '#000000',
  },
}
SCSS
$custom: #ca2cca;
$custom-light: #de79db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2cca",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.24967,
    "h": 328.1
  },
  "luminance": 0.18622
}

Semantic roles & 50–950 ramp

primary
#CA2CCA
secondary
#82D082
accent
#E74141
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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