#D47DEB#D47DEB

#D47DEB is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.177 H 319.0°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D47DEB
RGBrgb(212, 125, 235)
HSLhsl(287, 73%, 71%)
HSVhsv(287, 47%, 92%)
CMYKcmyk(9.8%, 46.8%, 0%, 7.8%)
CIE-LABlab(65.49, 50.98, -41.96)
CIE-LCHlch(65.49, 66.03, 320.55°)
OKLaboklab(72.35% 0.1334 -0.1161)
OKLCHoklch(72.35% 0.177 319)
XYZxyz(49.4784, 34.6642, 82.6657)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47DEB #94EB7D
analogous
#9D7DEB #D47DEB #EB7DCB
triadic
#D47DEB #EBD47D #7DEBD4
tetradic
#D47DEB #EB9D7D #94EB7D #7DCBEB
square
#D47DEB #EB9D7D #94EB7D #7DCBEB
split-complementary
#D47DEB #CBEB7D #7DEB9D
monochromatic
#A920CE #C248E3 #D47DEB #E6B2F3 #F6E4FB

Accessibility & contrast

On white

2.65
#D47DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D47DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47DEB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47DEB#FFFFFF#000000##000000
##D47DEB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#D58CA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d47deb;
/* rgb */ color: rgb(212, 125, 235);
/* oklch */ color: oklch(72.4% 0.177 319.0);
Tailwind
colors: {
  custom: {
    50: '#e3a5f2',
    500: '#d47deb',
    950: '#000000',
  },
}
SCSS
$custom: #d47deb;
$custom-light: #e3a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d47deb",
  "rgb": {
    "r": 212,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 287.455,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7235,
    "c": 0.17684,
    "h": 319
  },
  "luminance": 0.34662
}

Semantic roles & 50–950 ramp

primary
#D47DEB
secondary
#D9F1D3
accent
#D51039
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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