#D151D7#D151D7

#D151D7 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.3% C 0.223 H 325.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D151D7
RGBrgb(209, 81, 215)
HSLhsl(297, 63%, 58%)
HSVhsv(297, 62%, 84%)
CMYKcmyk(2.8%, 62.3%, 0%, 15.7%)
CIE-LABlab(56.44, 67.10, -45.05)
CIE-LCHlch(56.44, 80.82, 326.13°)
OKLaboklab(65.31% 0.1844 -0.1247)
OKLCHoklch(65.31% 0.223 325.9)
XYZxyz(41.5018, 24.3490, 66.7907)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D7 #57D751
analogous
#8E51D7 #D151D7 #D7519A
triadic
#D151D7 #D7D151 #51D7D1
tetradic
#D151D7 #D78E51 #57D751 #519AD7
square
#D151D7 #D78E51 #57D751 #519AD7
split-complementary
#D151D7 #9AD751 #51D78E
monochromatic
#88208D #B82CBF #D151D7 #DE83E2 #EBB5EE

Accessibility & contrast

On white

3.58
#D151D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D151D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D7#FFFFFF#000000##000000
##D151D71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#6C8DD3
Tritanopia (blue-blind)
#D6648D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d151d7;
/* rgb */ color: rgb(209, 81, 215);
/* oklch */ color: oklch(65.3% 0.223 325.9);
Tailwind
colors: {
  custom: {
    50: '#e28ae4',
    500: '#d151d7',
    950: '#000000',
  },
}
SCSS
$custom: #d151d7;
$custom-light: #e28ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d7",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 297.313,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65309,
    "c": 0.22265,
    "h": 325.9
  },
  "luminance": 0.24346
}

Semantic roles & 50–950 ramp

primary
#D151D7
secondary
#AADDA7
accent
#E64249
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D151D7

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

Preview Lab → · Contrast checker → · Palette generator →

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