#CA47BD#CA47BD

#CA47BD is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.211 H 332.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CA47BD
RGBrgb(202, 71, 189)
HSLhsl(306, 55%, 54%)
HSVhsv(306, 65%, 79%)
CMYKcmyk(0%, 64.9%, 6.4%, 20.8%)
CIE-LABlab(52.66, 65.11, -36.17)
CIE-LCHlch(52.66, 74.49, 330.95°)
OKLaboklab(61.95% 0.1865 -0.0992)
OKLCHoklch(61.95% 0.211 332)
XYZxyz(35.7957, 20.7399, 50.2521)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47BD #47CA54
analogous
#9547CA #CA47BD #CA477B
triadic
#CA47BD #BDCA47 #47BDCA
tetradic
#CA47BD #CA9547 #47CA54 #477BCA
square
#CA47BD #CA9547 #47CA54 #477BCA
split-complementary
#CA47BD #7BCA47 #47CA95
monochromatic
#75226D #A42F99 #CA47BD #D877CE #E5A6DF

Accessibility & contrast

On white

4.08
#CA47BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CA47BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47BD#FFFFFF#000000##000000
##CA47BD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#6E84BA
Tritanopia (blue-blind)
#D2537C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca47bd;
/* rgb */ color: rgb(202, 71, 189);
/* oklch */ color: oklch(61.9% 0.211 332.0);
Tailwind
colors: {
  custom: {
    50: '#dd84d1',
    500: '#ca47bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca47bd;
$custom-light: #dd84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47bd",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 305.954,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.21121,
    "h": 332
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#CA47BD
secondary
#9AD2A0
accent
#DF5849
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CA47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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