#D391EB#D391EB

#D391EB is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.4% C 0.143 H 316.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#D391EB
RGBrgb(211, 145, 235)
HSLhsl(284, 69%, 75%)
HSVhsv(284, 38%, 92%)
CMYKcmyk(10.2%, 38.3%, 0%, 7.8%)
CIE-LABlab(69.54, 40.19, -35.64)
CIE-LCHlch(69.54, 53.71, 318.43°)
OKLaboklab(75.36% 0.1041 -0.0981)
OKLCHoklch(75.36% 0.143 316.7)
XYZxyz(51.9826, 40.0992, 83.5827)
Luminance0.4010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D391EB #A9EB91
analogous
#A691EB #D391EB #EB91D6
triadic
#D391EB #EBD391 #91EBD3
tetradic
#D391EB #EBA691 #A9EB91 #91D6EB
square
#D391EB #EBA691 #A9EB91 #91D6EB
split-complementary
#D391EB #D6EB91 #91EBA6
monochromatic
#AA29D8 #BE5DE2 #D391EB #E8C5F4 #F5E5FA

Accessibility & contrast

On white

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

On black

9.02
#D391EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D391EB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D391EB#FFFFFF#000000##000000
##D391EB1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#D29DB3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d391eb;
/* rgb */ color: rgb(211, 145, 235);
/* oklch */ color: oklch(75.4% 0.143 316.7);
Tailwind
colors: {
  custom: {
    50: '#e2b2f1',
    500: '#d391eb',
    950: '#000000',
  },
}
SCSS
$custom: #d391eb;
$custom-light: #e2b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d391eb",
  "rgb": {
    "r": 211,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 284,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75361,
    "c": 0.14299,
    "h": 316.7
  },
  "luminance": 0.40098
}

Semantic roles & 50–950 ramp

primary
#D391EB
secondary
#E0F2D9
accent
#D11447
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D391EB

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

Preview Lab → · Contrast checker → · Palette generator →

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