#CA47B2#CA47B2

#CA47B2 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.203 H 335.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CA47B2
RGBrgb(202, 71, 178)
HSLhsl(311, 55%, 54%)
HSVhsv(311, 65%, 79%)
CMYKcmyk(0%, 64.9%, 11.9%, 20.8%)
CIE-LABlab(52.15, 63.41, -30.58)
CIE-LCHlch(52.15, 70.40, 334.25°)
OKLaboklab(61.41% 0.1852 -0.0832)
OKLCHoklch(61.41% 0.203 335.8)
XYZxyz(34.6466, 20.2803, 44.2006)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47B2 #47CA5F
analogous
#A047CA #CA47B2 #CA4770
triadic
#CA47B2 #B2CA47 #47B2CA
tetradic
#CA47B2 #CAA047 #47CA5F #4770CA
square
#CA47B2 #CAA047 #47CA5F #4770CA
split-complementary
#CA47B2 #70CA47 #47CAA0
monochromatic
#752266 #A42F8F #CA47B2 #D877C6 #E5A6DA

Accessibility & contrast

On white

4.15
#CA47B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CA47B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47B2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47B2#FFFFFF#000000##000000
##CA47B21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7284AF
Tritanopia (blue-blind)
#D44F76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca47b2;
/* rgb */ color: rgb(202, 71, 178);
/* oklch */ color: oklch(61.4% 0.203 335.8);
Tailwind
colors: {
  custom: {
    50: '#dd83c9',
    500: '#ca47b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca47b2;
$custom-light: #dd83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47b2",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 310.992,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61411,
    "c": 0.20303,
    "h": 335.8
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#CA47B2
secondary
#9AD2A5
accent
#DF6549
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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