#D291EF#D291EF

#D291EF is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.4% C 0.147 H 314.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#D291EF
RGBrgb(210, 145, 239)
HSLhsl(281, 75%, 75%)
HSVhsv(281, 39%, 94%)
CMYKcmyk(12.1%, 39.3%, 0%, 6.3%)
CIE-LABlab(69.60, 40.70, -37.75)
CIE-LCHlch(69.60, 55.51, 317.16°)
OKLaboklab(75.44% 0.1037 -0.1041)
OKLCHoklch(75.44% 0.147 314.9)
XYZxyz(52.2813, 40.1856, 86.6471)
Luminance0.4018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291EF #AEEF91
analogous
#A391EF #D291EF #EF91DD
triadic
#D291EF #EFD291 #91EFD2
tetradic
#D291EF #EFA391 #AEEF91 #91DDEF
square
#D291EF #EFA391 #AEEF91 #91DDEF
split-complementary
#D291EF #DDEF91 #91EFA3
monochromatic
#A626DF #BC5CE7 #D291EF #E8C6F7 #F4E4FB

Accessibility & contrast

On white

2.32
#D291EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#D291EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291EF
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291EF#FFFFFF#000000##000000
##D291EF1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#D09EB5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d291ef;
/* rgb */ color: rgb(210, 145, 239);
/* oklch */ color: oklch(75.4% 0.147 314.9);
Tailwind
colors: {
  custom: {
    50: '#e1b2f4',
    500: '#d291ef',
    950: '#000000',
  },
}
SCSS
$custom: #d291ef;
$custom-light: #e1b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d291ef",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 281.489,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75438,
    "c": 0.14697,
    "h": 314.9
  },
  "luminance": 0.40184
}

Semantic roles & 50–950 ramp

primary
#D291EF
secondary
#E0F3D8
accent
#D70F4C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D291EF

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

Preview Lab → · Contrast checker → · Palette generator →

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