#D47FEE#D47FEE

#D47FEE is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.177 H 317.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D47FEE
RGBrgb(212, 127, 238)
HSLhsl(286, 77%, 72%)
HSVhsv(286, 47%, 93%)
CMYKcmyk(10.9%, 46.6%, 0%, 6.7%)
CIE-LABlab(66.02, 50.55, -42.78)
CIE-LCHlch(66.02, 66.22, 319.76°)
OKLaboklab(72.79% 0.1311 -0.1184)
OKLCHoklch(72.79% 0.177 317.9)
XYZxyz(50.1712, 35.3505, 85.0528)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47FEE #99EE7F
analogous
#9D7FEE #D47FEE #EE7FD1
triadic
#D47FEE #EED47F #7FEED4
tetradic
#D47FEE #EE9D7F #99EE7F #7FD1EE
square
#D47FEE #EE9D7F #99EE7F #7FD1EE
split-complementary
#D47FEE #D1EE7F #7FEE9D
monochromatic
#AB1CD6 #C249E7 #D47FEE #E6B5F5 #F6E4FB

Accessibility & contrast

On white

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

On black

8.07
#D47FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47FEE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47FEE#FFFFFF#000000##000000
##D47FEE1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#D48EAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d47fee;
/* rgb */ color: rgb(212, 127, 238);
/* oklch */ color: oklch(72.8% 0.177 317.9);
Tailwind
colors: {
  custom: {
    50: '#e3a6f4',
    500: '#d47fee',
    950: '#000000',
  },
}
SCSS
$custom: #d47fee;
$custom-light: #e3a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d47fee",
  "rgb": {
    "r": 212,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 285.946,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72792,
    "c": 0.17668,
    "h": 317.9
  },
  "luminance": 0.35349
}

Semantic roles & 50–950 ramp

primary
#D47FEE
secondary
#DDF3D6
accent
#D90D3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D47FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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