#D47FEF#D47FEF

#D47FEF is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.8% C 0.178 H 317.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D47FEF
RGBrgb(212, 127, 239)
HSLhsl(286, 78%, 72%)
HSVhsv(286, 47%, 94%)
CMYKcmyk(11.3%, 46.9%, 0%, 6.3%)
CIE-LABlab(66.07, 50.75, -43.26)
CIE-LCHlch(66.07, 66.68, 319.56°)
OKLaboklab(72.84% 0.1313 -0.1198)
OKLCHoklch(72.84% 0.178 317.6)
XYZxyz(50.3185, 35.4094, 85.8287)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47FEF #9AEF7F
analogous
#9C7FEF #D47FEF #EF7FD2
triadic
#D47FEF #EFD47F #7FEFD4
tetradic
#D47FEF #EF9C7F #9AEF7F #7FD2EF
square
#D47FEF #EF9C7F #9AEF7F #7FD2EF
split-complementary
#D47FEF #D2EF7F #7FEF9C
monochromatic
#AB1BD9 #C249E8 #D47FEF #E6B5F6 #F6E4FC

Accessibility & contrast

On white

2.60
#D47FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D47FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47FEF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47FEF#FFFFFF#000000##000000
##D47FEF1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D48FAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d47fef;
/* rgb */ color: rgb(212, 127, 239);
/* oklch */ color: oklch(72.8% 0.178 317.6);
Tailwind
colors: {
  custom: {
    50: '#e3a6f4',
    500: '#d47fef',
    950: '#000000',
  },
}
SCSS
$custom: #d47fef;
$custom-light: #e3a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d47fef",
  "rgb": {
    "r": 212,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 285.536,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7284,
    "c": 0.17772,
    "h": 317.6
  },
  "luminance": 0.35408
}

Semantic roles & 50–950 ramp

primary
#D47FEF
secondary
#DEF3D7
accent
#DA0B3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D47FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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