#CD47BA#CD47BA

#CD47BA is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.2% C 0.211 H 333.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CD47BA
RGBrgb(205, 71, 186)
HSLhsl(309, 57%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 65.4%, 9.3%, 19.6%)
CIE-LABlab(52.99, 65.39, -33.90)
CIE-LCHlch(52.99, 73.65, 332.60°)
OKLaboklab(62.23% 0.1893 -0.0926)
OKLCHoklch(62.23% 0.211 333.9)
XYZxyz(36.2932, 21.0337, 48.5933)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47BA #47CD5A
analogous
#9D47CD #CD47BA #CD4777
triadic
#CD47BA #BACD47 #47BACD
tetradic
#CD47BA #CD9D47 #47CD5A #4777CD
square
#CD47BA #CD9D47 #47CD5A #4777CD
split-complementary
#CD47BA #77CD47 #47CD9D
monochromatic
#79216C #A92E97 #CD47BA #DA77CC #E7A7DE

Accessibility & contrast

On white

4.03
#CD47BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CD47BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47BA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47BA#FFFFFF#000000##000000
##CD47BA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#7186B7
Tritanopia (blue-blind)
#D6517A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd47ba;
/* rgb */ color: rgb(205, 71, 186);
/* oklch */ color: oklch(62.2% 0.211 333.9);
Tailwind
colors: {
  custom: {
    50: '#e084cf',
    500: '#cd47ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd47ba;
$custom-light: #e084cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47ba",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 308.507,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.21071,
    "h": 333.9
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#CD47BA
secondary
#9BD4A3
accent
#E15D47
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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