#CA4AB7#CA4AB7

#CA4AB7 is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.203 H 334.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CA4AB7
RGBrgb(202, 74, 183)
HSLhsl(309, 55%, 54%)
HSVhsv(309, 63%, 79%)
CMYKcmyk(0%, 63.4%, 9.4%, 20.8%)
CIE-LABlab(52.81, 62.98, -32.46)
CIE-LCHlch(52.81, 70.85, 332.73°)
OKLaboklab(61.97% 0.1823 -0.0886)
OKLCHoklch(61.97% 0.203 334.1)
XYZxyz(35.3534, 20.8758, 46.9580)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4AB7 #4ACA5D
analogous
#9D4ACA #CA4AB7 #CA4A77
triadic
#CA4AB7 #B7CA4A #4AB7CA
tetradic
#CA4AB7 #CA9D4A #4ACA5D #4A77CA
square
#CA4AB7 #CA9D4A #4ACA5D #4A77CA
split-complementary
#CA4AB7 #77CA4A #4ACA9D
monochromatic
#77236A #A63195 #CA4AB7 #D879CA #E6A9DD

Accessibility & contrast

On white

4.06
#CA4AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CA4AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4AB7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4AB7#FFFFFF#000000##000000
##CA4AB71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#D3537A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4ab7;
/* rgb */ color: rgb(202, 74, 183);
/* oklch */ color: oklch(62.0% 0.203 334.1);
Tailwind
colors: {
  custom: {
    50: '#dd85cd',
    500: '#ca4ab7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ab7;
$custom-light: #dd85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ab7",
  "rgb": {
    "r": 202,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 308.906,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.2027,
    "h": 334.1
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#CA4AB7
secondary
#9DD3A5
accent
#DE604A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CA4AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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