#CA47B7#CA47B7

#CA47B7 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.207 H 334.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CA47B7
RGBrgb(202, 71, 183)
HSLhsl(309, 55%, 54%)
HSVhsv(309, 65%, 79%)
CMYKcmyk(0%, 64.9%, 9.4%, 20.8%)
CIE-LABlab(52.38, 64.17, -33.14)
CIE-LCHlch(52.38, 72.22, 332.69°)
OKLaboklab(61.65% 0.1858 -0.0905)
OKLCHoklch(61.65% 0.207 334)
XYZxyz(35.1578, 20.4848, 46.8928)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47B7 #47CA5A
analogous
#9B47CA #CA47B7 #CA4775
triadic
#CA47B7 #B7CA47 #47B7CA
tetradic
#CA47B7 #CA9B47 #47CA5A #4775CA
square
#CA47B7 #CA9B47 #47CA5A #4775CA
split-complementary
#CA47B7 #75CA47 #47CA9B
monochromatic
#752269 #A42F93 #CA47B7 #D877CA #E5A6DC

Accessibility & contrast

On white

4.12
#CA47B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CA47B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47B7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47B7#FFFFFF#000000##000000
##CA47B71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#7084B4
Tritanopia (blue-blind)
#D35179
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca47b7;
/* rgb */ color: rgb(202, 71, 183);
/* oklch */ color: oklch(61.7% 0.207 334.0);
Tailwind
colors: {
  custom: {
    50: '#dd83cd',
    500: '#ca47b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca47b7;
$custom-light: #dd83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47b7",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 308.702,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61651,
    "c": 0.20669,
    "h": 334
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#CA47B7
secondary
#9AD2A2
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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