#D391EA#D391EA

#D391EA is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.3% C 0.142 H 317.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#D391EA
RGBrgb(211, 145, 234)
HSLhsl(284, 68%, 74%)
HSVhsv(284, 38%, 92%)
CMYKcmyk(9.8%, 38%, 0%, 8.2%)
CIE-LABlab(69.50, 39.98, -35.16)
CIE-LCHlch(69.50, 53.24, 318.68°)
OKLaboklab(75.32% 0.1039 -0.0967)
OKLCHoklch(75.32% 0.142 317)
XYZxyz(51.8385, 40.0415, 82.8240)
Luminance0.4004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D391EA #A8EA91
analogous
#A791EA #D391EA #EA91D5
triadic
#D391EA #EAD391 #91EAD3
tetradic
#D391EA #EAA791 #A8EA91 #91D5EA
square
#D391EA #EAA791 #A8EA91 #91D5EA
split-complementary
#D391EA #D5EA91 #91EAA7
monochromatic
#AA2AD6 #BE5EE0 #D391EA #E8C4F4 #F5E5FA

Accessibility & contrast

On white

2.33
#D391EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#D391EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D391EA
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D391EA#FFFFFF#000000##000000
##D391EA1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6ED
Deuteranopia (green-blind)
#94ACE7
Tritanopia (blue-blind)
#D39CB3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d391ea;
/* rgb */ color: rgb(211, 145, 234);
/* oklch */ color: oklch(75.3% 0.142 317.0);
Tailwind
colors: {
  custom: {
    50: '#e2b2f1',
    500: '#d391ea',
    950: '#000000',
  },
}
SCSS
$custom: #d391ea;
$custom-light: #e2b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d391ea",
  "rgb": {
    "r": 211,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 284.494,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75316,
    "c": 0.14189,
    "h": 317
  },
  "luminance": 0.4004
}

Semantic roles & 50–950 ramp

primary
#D391EA
secondary
#E0F2D9
accent
#D01646
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D391EA

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

Preview Lab → · Contrast checker → · Palette generator →

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