#D151E4#D151E4

#D151E4 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.0% C 0.234 H 322.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D151E4
RGBrgb(209, 81, 228)
HSLhsl(292, 73%, 61%)
HSVhsv(292, 64%, 89%)
CMYKcmyk(8.3%, 64.5%, 0%, 10.6%)
CIE-LABlab(57.12, 69.38, -51.30)
CIE-LCHlch(57.12, 86.29, 323.52°)
OKLaboklab(66.02% 0.1848 -0.1429)
OKLCHoklch(66.02% 0.234 322.3)
XYZxyz(43.2391, 25.0439, 75.9402)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151E4 #64E451
analogous
#8751E4 #D151E4 #E451AD
triadic
#D151E4 #E4D151 #51E4D1
tetradic
#D151E4 #E48751 #64E451 #51ADE4
square
#D151E4 #E48751 #64E451 #51ADE4
split-complementary
#D151E4 #ADE451 #51E487
monochromatic
#9019A2 #BF21D7 #D151E4 #DF86EC #EDBBF4

Accessibility & contrast

On white

3.50
#D151E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D151E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151E4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151E4#FFFFFF#000000##000000
##D151E41.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E8
Deuteranopia (green-blind)
#648EE0
Tritanopia (blue-blind)
#D46994
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d151e4;
/* rgb */ color: rgb(209, 81, 228);
/* oklch */ color: oklch(66.0% 0.234 322.3);
Tailwind
colors: {
  custom: {
    50: '#e38bed',
    500: '#d151e4',
    950: '#000000',
  },
}
SCSS
$custom: #d151e4;
$custom-light: #e38bed;
$custom-dark: #000000;
JSON
{
  "hex": "#d151e4",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 292.245,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66023,
    "c": 0.2336,
    "h": 322.3
  },
  "luminance": 0.25042
}

Semantic roles & 50–950 ramp

primary
#D151E4
secondary
#B4E4AC
accent
#D5102A
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D151E4

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

Preview Lab → · Contrast checker → · Palette generator →

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