#D291EB#D291EB

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

Color values

HEX#D291EB
RGBrgb(210, 145, 235)
HSLhsl(283, 69%, 75%)
HSVhsv(283, 38%, 92%)
CMYKcmyk(10.6%, 38.3%, 0%, 7.8%)
CIE-LABlab(69.44, 39.89, -35.81)
CIE-LCHlch(69.44, 53.61, 318.08°)
OKLaboklab(75.26% 0.1029 -0.0986)
OKLCHoklch(75.26% 0.143 316.2)
XYZxyz(51.6969, 39.9519, 83.5693)
Luminance0.3995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291EB #AAEB91
analogous
#A591EB #D291EB #EB91D7
triadic
#D291EB #EBD291 #91EBD2
tetradic
#D291EB #EBA591 #AAEB91 #91D7EB
square
#D291EB #EBA591 #AAEB91 #91D7EB
split-complementary
#D291EB #D7EB91 #91EBA5
monochromatic
#A829D8 #BD5DE2 #D291EB #E7C5F4 #F4E5FA

Accessibility & contrast

On white

2.34
#D291EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#D291EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291EB
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291EB#FFFFFF#000000##000000
##D291EB1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d291eb;
/* rgb */ color: rgb(210, 145, 235);
/* oklch */ color: oklch(75.3% 0.142 316.2);
Tailwind
colors: {
  custom: {
    50: '#e1b2f1',
    500: '#d291eb',
    950: '#000000',
  },
}
SCSS
$custom: #d291eb;
$custom-light: #e1b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d291eb",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 283.333,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75258,
    "c": 0.1425,
    "h": 316.2
  },
  "luminance": 0.39951
}

Semantic roles & 50–950 ramp

primary
#D291EB
secondary
#E0F2D9
accent
#D11449
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D291EB

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

Preview Lab → · Contrast checker → · Palette generator →

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