#CD47D8#CD47D8

#CD47D8 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.8% C 0.234 H 324.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CD47D8
RGBrgb(205, 71, 216)
HSLhsl(295, 65%, 56%)
HSVhsv(295, 67%, 85%)
CMYKcmyk(5.1%, 67.1%, 0%, 15.3%)
CIE-LABlab(54.50, 70.28, -48.72)
CIE-LCHlch(54.50, 85.52, 325.27°)
OKLaboklab(63.81% 0.191 -0.1355)
OKLCHoklch(63.81% 0.234 324.6)
XYZxyz(39.8237, 22.4459, 67.1873)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47D8 #52D847
analogous
#8547D8 #CD47D8 #D8479B
triadic
#CD47D8 #D8CD47 #47D8CD
tetradic
#CD47D8 #D88547 #52D847 #479BD8
square
#CD47D8 #D88547 #52D847 #479BD8
split-complementary
#CD47D8 #9BD847 #47D885
monochromatic
#801D88 #AF27BA #CD47D8 #DB79E3 #E8ACED

Accessibility & contrast

On white

3.83
#CD47D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CD47D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47D8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47D8#FFFFFF#000000##000000
##CD47D81.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DC
Deuteranopia (green-blind)
#6288D4
Tritanopia (blue-blind)
#D15E8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd47d8;
/* rgb */ color: rgb(205, 71, 216);
/* oklch */ color: oklch(63.8% 0.234 324.6);
Tailwind
colors: {
  custom: {
    50: '#e085e4',
    500: '#cd47d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd47d8;
$custom-light: #e085e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47d8",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 295.448,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6381,
    "c": 0.23413,
    "h": 324.6
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#CD47D8
secondary
#A4DBA0
accent
#E8404D
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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