#D47EF8#D47EF8

#D47EF8 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.1% C 0.189 H 315.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D47EF8
RGBrgb(212, 126, 248)
HSLhsl(282, 90%, 73%)
HSVhsv(282, 49%, 97%)
CMYKcmyk(14.5%, 49.2%, 0%, 2.7%)
CIE-LABlab(66.29, 53.07, -47.86)
CIE-LCHlch(66.29, 71.46, 317.96°)
OKLaboklab(73.14% 0.1338 -0.1331)
OKLCHoklch(73.14% 0.189 315.1)
XYZxyz(51.5529, 35.6975, 92.9634)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47EF8 #A2F87E
analogous
#977EF8 #D47EF8 #F87EDF
triadic
#D47EF8 #F8D47E #7EF8D4
tetradic
#D47EF8 #F8977E #A2F87E #7EDFF8
square
#D47EF8 #F8977E #A2F87E #7EDFF8
split-complementary
#D47EF8 #DFF87E #7EF897
monochromatic
#AC0DEF #C144F5 #D47EF8 #E7B8FB #F5E2FD

Accessibility & contrast

On white

2.58
#D47EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D47EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47EF8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47EF8#FFFFFF#000000##000000
##D47EF81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#D291B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d47ef8;
/* rgb */ color: rgb(212, 126, 248);
/* oklch */ color: oklch(73.1% 0.189 315.1);
Tailwind
colors: {
  custom: {
    50: '#e3a6fb',
    500: '#d47ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d47ef8;
$custom-light: #e3a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d47ef8",
  "rgb": {
    "r": 212,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 282.295,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.18873,
    "h": 315.1
  },
  "luminance": 0.35696
}

Semantic roles & 50–950 ramp

primary
#D47EF8
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D47EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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