#D151D9#D151D9

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

Color values

HEX#D151D9
RGBrgb(209, 81, 217)
HSLhsl(296, 64%, 58%)
HSVhsv(296, 63%, 85%)
CMYKcmyk(3.7%, 62.7%, 0%, 14.9%)
CIE-LABlab(56.54, 67.45, -46.02)
CIE-LCHlch(56.54, 81.65, 325.70°)
OKLaboklab(65.42% 0.1845 -0.1276)
OKLCHoklch(65.42% 0.224 325.3)
XYZxyz(41.7604, 24.4524, 68.1524)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D9 #59D951
analogous
#8D51D9 #D151D9 #D9519D
triadic
#D151D9 #D9D151 #51D9D1
tetradic
#D151D9 #D98D51 #59D951 #519DD9
square
#D151D9 #D98D51 #59D951 #519DD9
split-complementary
#D151D9 #9DD951 #51D98D
monochromatic
#891F90 #B92AC2 #D151D9 #DE83E4 #ECB5EF

Accessibility & contrast

On white

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

On black

5.89
#D151D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D9#FFFFFF#000000##000000
##D151D91.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDD
Deuteranopia (green-blind)
#6B8DD5
Tritanopia (blue-blind)
#D6658E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d151d9;
/* rgb */ color: rgb(209, 81, 217);
/* oklch */ color: oklch(65.4% 0.224 325.3);
Tailwind
colors: {
  custom: {
    50: '#e28ae5',
    500: '#d151d9',
    950: '#000000',
  },
}
SCSS
$custom: #d151d9;
$custom-light: #e28ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d9",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 296.471,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.22432,
    "h": 325.3
  },
  "luminance": 0.2445
}

Semantic roles & 50–950 ramp

primary
#D151D9
secondary
#ABDEA8
accent
#E7414A
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D151D9

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

Preview Lab → · Contrast checker → · Palette generator →

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