#D47AEB#D47AEB

#D47AEB is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.182 H 319.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D47AEB
RGBrgb(212, 122, 235)
HSLhsl(288, 74%, 70%)
HSVhsv(288, 48%, 92%)
CMYKcmyk(9.8%, 48.1%, 0%, 7.8%)
CIE-LABlab(64.90, 52.51, -42.89)
CIE-LCHlch(64.90, 67.80, 320.76°)
OKLaboklab(71.91% 0.1375 -0.1187)
OKLCHoklch(71.91% 0.182 319.2)
XYZxyz(49.1044, 33.9161, 82.5410)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47AEB #91EB7A
analogous
#9C7AEB #D47AEB #EB7AC9
triadic
#D47AEB #EBD47A #7AEBD4
tetradic
#D47AEB #EB9C7A #91EB7A #7AC9EB
square
#D47AEB #EB9C7A #91EB7A #7AC9EB
split-complementary
#D47AEB #C9EB7A #7AEB9C
monochromatic
#A91FCC #C345E3 #D47AEB #E5AFF3 #F6E4FB

Accessibility & contrast

On white

2.70
#D47AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D47AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47AEB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47AEB#FFFFFF#000000##000000
##D47AEB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#D58AA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d47aeb;
/* rgb */ color: rgb(212, 122, 235);
/* oklch */ color: oklch(71.9% 0.182 319.2);
Tailwind
colors: {
  custom: {
    50: '#e3a3f2',
    500: '#d47aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d47aeb;
$custom-light: #e3a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d47aeb",
  "rgb": {
    "r": 212,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 287.788,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.71911,
    "c": 0.18168,
    "h": 319.2
  },
  "luminance": 0.33914
}

Semantic roles & 50–950 ramp

primary
#D47AEB
secondary
#D7F0D1
accent
#D61038
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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