#D947E7#D947E7

#D947E7 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.3% C 0.252 H 324.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D947E7
RGBrgb(217, 71, 231)
HSLhsl(295, 77%, 59%)
HSVhsv(295, 69%, 91%)
CMYKcmyk(6.1%, 69.3%, 0%, 9.4%)
CIE-LABlab(57.11, 75.43, -52.93)
CIE-LCHlch(57.11, 92.15, 324.94°)
OKLaboklab(66.3% 0.2039 -0.1474)
OKLCHoklch(66.3% 0.252 324.1)
XYZxyz(45.2911, 25.0305, 78.0316)
Luminance0.2503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947E7 #55E747
analogous
#8947E7 #D947E7 #E747A5
triadic
#D947E7 #E7D947 #47E7D9
tetradic
#D947E7 #E78947 #55E747 #47A5E7
square
#D947E7 #E78947 #55E747 #47A5E7
split-complementary
#D947E7 #A5E747 #47E789
monochromatic
#93159F #C51CD5 #D947E7 #E47DEE #EFB3F5

Accessibility & contrast

On white

3.50
#D947E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D947E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947E7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947E7#FFFFFF#000000##000000
##D947E71.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#167EEC
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#DD6293
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d947e7;
/* rgb */ color: rgb(217, 71, 231);
/* oklch */ color: oklch(66.3% 0.252 324.1);
Tailwind
colors: {
  custom: {
    50: '#e987ef',
    500: '#d947e7',
    950: '#000000',
  },
}
SCSS
$custom: #d947e7;
$custom-light: #e987ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d947e7",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 231
  },
  "hsl": {
    "h": 294.75,
    "s": 76.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66299,
    "c": 0.2516,
    "h": 324.1
  },
  "luminance": 0.25028
}

Semantic roles & 50–950 ramp

primary
#D947E7
secondary
#ABE4A6
accent
#F33445
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D947E7

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

Preview Lab → · Contrast checker → · Palette generator →

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