#D151D8#D151D8

#D151D8 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.223 H 325.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#D151D8
RGBrgb(209, 81, 216)
HSLhsl(297, 63%, 58%)
HSVhsv(297, 63%, 85%)
CMYKcmyk(3.2%, 62.5%, 0%, 15.3%)
CIE-LABlab(56.49, 67.28, -45.53)
CIE-LCHlch(56.49, 81.24, 325.91°)
OKLaboklab(65.36% 0.1845 -0.1262)
OKLCHoklch(65.36% 0.223 325.6)
XYZxyz(41.6307, 24.4006, 67.4695)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D8 #58D851
analogous
#8D51D8 #D151D8 #D8519B
triadic
#D151D8 #D8D151 #51D8D1
tetradic
#D151D8 #D88D51 #58D851 #519BD8
square
#D151D8 #D88D51 #58D851 #519BD8
split-complementary
#D151D8 #9BD851 #51D88D
monochromatic
#89208F #B92BC1 #D151D8 #DE83E3 #EBB5EE

Accessibility & contrast

On white

3.57
#D151D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D151D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D8#FFFFFF#000000##000000
##D151D81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDC
Deuteranopia (green-blind)
#6B8DD4
Tritanopia (blue-blind)
#D6648E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d151d8;
/* rgb */ color: rgb(209, 81, 216);
/* oklch */ color: oklch(65.4% 0.223 325.6);
Tailwind
colors: {
  custom: {
    50: '#e28ae4',
    500: '#d151d8',
    950: '#000000',
  },
}
SCSS
$custom: #d151d8;
$custom-light: #e28ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d8",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 296.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65363,
    "c": 0.22348,
    "h": 325.6
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#D151D8
secondary
#AADDA8
accent
#E6414A
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D151D8

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

Preview Lab → · Contrast checker → · Palette generator →

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