#CA2AC7#CA2AC7

#CA2AC7 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.1% C 0.249 H 329.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CA2AC7
RGBrgb(202, 42, 199)
HSLhsl(301, 66%, 48%)
HSVhsv(301, 79%, 79%)
CMYKcmyk(0%, 79.2%, 1.5%, 20.8%)
CIE-LABlab(49.90, 75.99, -46.32)
CIE-LCHlch(49.90, 88.99, 328.64°)
OKLaboklab(60.13% 0.2136 -0.1283)
OKLCHoklch(60.13% 0.249 329)
XYZxyz(35.4936, 18.3388, 55.6921)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AC7 #2ACA2D
analogous
#7D2ACA #CA2AC7 #CA2A77
triadic
#CA2AC7 #C7CA2A #2AC7CA
tetradic
#CA2AC7 #CA7D2A #2ACA2D #2A77CA
square
#CA2AC7 #CA7D2A #2ACA2D #2A77CA
split-complementary
#CA2AC7 #77CA2A #2ACA7D
monochromatic
#651563 #971F95 #CA2AC7 #DC55D9 #E688E5

Accessibility & contrast

On white

4.50
#CA2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CA2AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2AC7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AC7#FFFFFF#000000##000000
##CA2AC71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#5C7EC3
Tritanopia (blue-blind)
#D14579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca2ac7;
/* rgb */ color: rgb(202, 42, 199);
/* oklch */ color: oklch(60.1% 0.249 329.0);
Tailwind
colors: {
  custom: {
    50: '#de78d8',
    500: '#ca2ac7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ac7;
$custom-light: #de78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ac7",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 301.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60134,
    "c": 0.24917,
    "h": 329
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#CA2AC7
secondary
#80D081
accent
#E9423F
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA2AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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