#CA47BA#CA47BA

#CA47BA is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.209 H 333.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA47BA
RGBrgb(202, 71, 186)
HSLhsl(307, 55%, 54%)
HSVhsv(307, 65%, 79%)
CMYKcmyk(0%, 64.9%, 7.9%, 20.8%)
CIE-LABlab(52.52, 64.64, -34.66)
CIE-LCHlch(52.52, 73.35, 331.80°)
OKLaboklab(61.8% 0.1862 -0.0948)
OKLCHoklch(61.8% 0.209 333)
XYZxyz(35.4734, 20.6110, 48.5548)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47BA #47CA57
analogous
#9847CA #CA47BA #CA4778
triadic
#CA47BA #BACA47 #47BACA
tetradic
#CA47BA #CA9847 #47CA57 #4778CA
square
#CA47BA #CA9847 #47CA57 #4778CA
split-complementary
#CA47BA #78CA47 #47CA98
monochromatic
#75226B #A42F96 #CA47BA #D877CC #E5A6DE

Accessibility & contrast

On white

4.10
#CA47BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CA47BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47BA#FFFFFF#000000##000000
##CA47BA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#6F84B7
Tritanopia (blue-blind)
#D3527A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca47ba;
/* rgb */ color: rgb(202, 71, 186);
/* oklch */ color: oklch(61.8% 0.209 333.0);
Tailwind
colors: {
  custom: {
    50: '#dd84cf',
    500: '#ca47ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca47ba;
$custom-light: #dd84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47ba",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 307.328,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.20894,
    "h": 333
  },
  "luminance": 0.20608
}

Semantic roles & 50–950 ramp

primary
#CA47BA
secondary
#9AD2A1
accent
#DF5B49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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