#CA47B4#CA47B4

#CA47B4 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.204 H 335.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA47B4
RGBrgb(202, 71, 180)
HSLhsl(310, 55%, 54%)
HSVhsv(310, 65%, 79%)
CMYKcmyk(0%, 64.9%, 10.9%, 20.8%)
CIE-LABlab(52.24, 63.71, -31.61)
CIE-LCHlch(52.24, 71.12, 333.61°)
OKLaboklab(61.51% 0.1855 -0.0861)
OKLCHoklch(61.51% 0.204 335.1)
XYZxyz(34.8489, 20.3612, 45.2659)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47B4 #47CA5D
analogous
#9E47CA #CA47B4 #CA4772
triadic
#CA47B4 #B4CA47 #47B4CA
tetradic
#CA47B4 #CA9E47 #47CA5D #4772CA
square
#CA47B4 #CA9E47 #47CA5D #4772CA
split-complementary
#CA47B4 #72CA47 #47CA9E
monochromatic
#752267 #A42F91 #CA47B4 #D877C7 #E5A6DB

Accessibility & contrast

On white

4.14
#CA47B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CA47B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47B4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47B4#FFFFFF#000000##000000
##CA47B41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#7284B1
Tritanopia (blue-blind)
#D45077
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca47b4;
/* rgb */ color: rgb(202, 71, 180);
/* oklch */ color: oklch(61.5% 0.204 335.1);
Tailwind
colors: {
  custom: {
    50: '#dd83cb',
    500: '#ca47b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca47b4;
$custom-light: #dd83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47b4",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 310.076,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61506,
    "c": 0.20449,
    "h": 335.1
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#CA47B4
secondary
#9AD2A4
accent
#DF6249
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA47B4

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

Preview Lab → · Contrast checker → · Palette generator →

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