#CA47AA#CA47AA

#CA47AA is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.197 H 338.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CA47AA
RGBrgb(202, 71, 170)
HSLhsl(315, 55%, 54%)
HSVhsv(315, 65%, 79%)
CMYKcmyk(0%, 64.9%, 15.8%, 20.8%)
CIE-LABlab(51.80, 62.22, -26.45)
CIE-LCHlch(51.80, 67.61, 336.97°)
OKLaboklab(61.04% 0.184 -0.0715)
OKLCHoklch(61.04% 0.197 338.8)
XYZxyz(33.8667, 19.9683, 40.0930)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47AA #47CA67
analogous
#A847CA #CA47AA #CA4768
triadic
#CA47AA #AACA47 #47AACA
tetradic
#CA47AA #CAA847 #47CA67 #4768CA
square
#CA47AA #CAA847 #47CA67 #4768CA
split-complementary
#CA47AA #68CA47 #47CAA8
monochromatic
#752261 #A42F88 #CA47AA #D877C0 #E5A6D6

Accessibility & contrast

On white

4.21
#CA47AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CA47AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47AA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47AA#FFFFFF#000000##000000
##CA47AA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#7683A7
Tritanopia (blue-blind)
#D54C72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca47aa;
/* rgb */ color: rgb(202, 71, 170);
/* oklch */ color: oklch(61.0% 0.197 338.8);
Tailwind
colors: {
  custom: {
    50: '#de83c3',
    500: '#ca47aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca47aa;
$custom-light: #de83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47aa",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 314.656,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.19738,
    "h": 338.8
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#CA47AA
secondary
#9AD2A8
accent
#DF6E49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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