#D947E4#D947E4

#D947E4 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.1% C 0.249 H 324.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D947E4
RGBrgb(217, 71, 228)
HSLhsl(296, 74%, 59%)
HSVhsv(296, 69%, 89%)
CMYKcmyk(4.8%, 68.9%, 0%, 10.6%)
CIE-LABlab(56.94, 74.92, -51.51)
CIE-LCHlch(56.94, 90.92, 325.49°)
OKLaboklab(66.13% 0.2039 -0.1433)
OKLCHoklch(66.13% 0.249 324.9)
XYZxyz(44.8710, 24.8624, 75.8193)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947E4 #52E447
analogous
#8A47E4 #D947E4 #E447A0
triadic
#D947E4 #E4D947 #47E4D9
tetradic
#D947E4 #E48A47 #52E447 #47A0E4
square
#D947E4 #E48A47 #52E447 #47A0E4
split-complementary
#D947E4 #A0E447 #47E48A
monochromatic
#91179A #C31ECF #D947E4 #E47CEC #EFB2F4

Accessibility & contrast

On white

3.52
#D947E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D947E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947E4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947E4#FFFFFF#000000##000000
##D947E41.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE8
Deuteranopia (green-blind)
#668FE0
Tritanopia (blue-blind)
#DE6191
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d947e4;
/* rgb */ color: rgb(217, 71, 228);
/* oklch */ color: oklch(66.1% 0.249 324.9);
Tailwind
colors: {
  custom: {
    50: '#e986ed',
    500: '#d947e4',
    950: '#000000',
  },
}
SCSS
$custom: #d947e4;
$custom-light: #e986ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d947e4",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 295.796,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66129,
    "c": 0.24923,
    "h": 324.9
  },
  "luminance": 0.2486
}

Semantic roles & 50–950 ramp

primary
#D947E4
secondary
#A9E2A4
accent
#F13744
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D947E4

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

Preview Lab → · Contrast checker → · Palette generator →

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