#D47DEF#D47DEF

#D47DEF is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.5% C 0.181 H 317.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D47DEF
RGBrgb(212, 125, 239)
HSLhsl(286, 78%, 71%)
HSVhsv(286, 48%, 94%)
CMYKcmyk(11.3%, 47.7%, 0%, 6.3%)
CIE-LABlab(65.67, 51.77, -43.88)
CIE-LCHlch(65.67, 67.87, 319.72°)
OKLaboklab(72.55% 0.134 -0.1216)
OKLCHoklch(72.55% 0.181 317.8)
XYZxyz(50.0628, 34.8979, 85.7435)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47DEF #98EF7D
analogous
#9B7DEF #D47DEF #EF7DD1
triadic
#D47DEF #EFD47D #7DEFD4
tetradic
#D47DEF #EF9B7D #98EF7D #7DD1EF
square
#D47DEF #EF9B7D #98EF7D #7DD1EF
split-complementary
#D47DEF #D1EF7D #7DEF9B
monochromatic
#AA1AD7 #C247E8 #D47DEF #E6B3F6 #F6E4FC

Accessibility & contrast

On white

2.63
#D47DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D47DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47DEF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47DEF#FFFFFF#000000##000000
##D47DEF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#82A2EC
Tritanopia (blue-blind)
#D48DAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d47def;
/* rgb */ color: rgb(212, 125, 239);
/* oklch */ color: oklch(72.5% 0.181 317.8);
Tailwind
colors: {
  custom: {
    50: '#e3a5f4',
    500: '#d47def',
    950: '#000000',
  },
}
SCSS
$custom: #d47def;
$custom-light: #e3a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d47def",
  "rgb": {
    "r": 212,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 285.789,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72545,
    "c": 0.18095,
    "h": 317.8
  },
  "luminance": 0.34896
}

Semantic roles & 50–950 ramp

primary
#D47DEF
secondary
#DCF3D5
accent
#DA0B3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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