#D47EF2#D47EF2

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

Color values

HEX#D47EF2
RGBrgb(212, 126, 242)
HSLhsl(284, 82%, 72%)
HSVhsv(284, 48%, 95%)
CMYKcmyk(12.4%, 47.9%, 0%, 5.1%)
CIE-LABlab(66.01, 51.86, -45.01)
CIE-LCHlch(66.01, 68.67, 319.05°)
OKLaboklab(72.84% 0.133 -0.1249)
OKLCHoklch(72.84% 0.182 316.8)
XYZxyz(50.6369, 35.3311, 88.1394)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47EF2 #9CF27E
analogous
#9A7EF2 #D47EF2 #F27ED6
triadic
#D47EF2 #F2D47E #7EF2D4
tetradic
#D47EF2 #F29A7E #9CF27E #7ED6F2
square
#D47EF2 #F29A7E #9CF27E #7ED6F2
split-complementary
#D47EF2 #D6F27E #7EF29A
monochromatic
#AB16DF #C146EC #D47EF2 #E7B6F8 #F6E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D47EF2#FFFFFF#000000##000000
##D47EF21.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)
#689BF6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#D38FAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d47ef2;
/* rgb */ color: rgb(212, 126, 242);
/* oklch */ color: oklch(72.8% 0.182 316.8);
Tailwind
colors: {
  custom: {
    50: '#e3a6f7',
    500: '#d47ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d47ef2;
$custom-light: #e3a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d47ef2",
  "rgb": {
    "r": 212,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 284.483,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7284,
    "c": 0.18245,
    "h": 316.8
  },
  "luminance": 0.3533
}

Semantic roles & 50–950 ramp

primary
#D47EF2
secondary
#DEF4D7
accent
#DE073F
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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