#D47EFE#D47EFE

#D47EFE is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.195 H 313.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D47EFE
RGBrgb(212, 126, 254)
HSLhsl(280, 98%, 75%)
HSVhsv(280, 50%, 100%)
CMYKcmyk(16.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(66.58, 54.30, -50.69)
CIE-LCHlch(66.58, 74.28, 316.97°)
OKLaboklab(73.45% 0.1344 -0.1413)
OKLCHoklch(73.45% 0.195 313.6)
XYZxyz(52.4986, 36.0758, 97.9445)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47EFE #A8FE7E
analogous
#947EFE #D47EFE #FE7EE8
triadic
#D47EFE #FED47E #7EFED4
tetradic
#D47EFE #FE947E #A8FE7E #7EE8FE
square
#D47EFE #FE947E #A8FE7E #7EE8FE
split-complementary
#D47EFE #E8FE7E #7EFE94
monochromatic
#AC05FD #C041FE #D47EFE #E8BBFE #F5E1FF

Accessibility & contrast

On white

2.56
#D47EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D47EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47EFE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47EFE#FFFFFF#000000##000000
##D47EFE1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#D092B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d47efe;
/* rgb */ color: rgb(212, 126, 254);
/* oklch */ color: oklch(73.5% 0.195 313.6);
Tailwind
colors: {
  custom: {
    50: '#e4a6ff',
    500: '#d47efe',
    950: '#000000',
  },
}
SCSS
$custom: #d47efe;
$custom-light: #e4a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d47efe",
  "rgb": {
    "r": 212,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 280.313,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73451,
    "c": 0.19506,
    "h": 313.6
  },
  "luminance": 0.36075
}

Semantic roles & 50–950 ramp

primary
#D47EFE
secondary
#DFF7D4
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D47EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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