#D151D6#D151D6

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

Color values

HEX#D151D6
RGBrgb(209, 81, 214)
HSLhsl(298, 62%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(2.3%, 62.1%, 0%, 16.1%)
CIE-LABlab(56.38, 66.93, -44.56)
CIE-LCHlch(56.38, 80.41, 326.35°)
OKLaboklab(65.26% 0.1844 -0.1233)
OKLCHoklch(65.26% 0.222 326.2)
XYZxyz(41.3737, 24.2978, 66.1160)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D6 #56D651
analogous
#8E51D6 #D151D6 #D65199
triadic
#D151D6 #D6D151 #51D6D1
tetradic
#D151D6 #D68E51 #56D651 #5199D6
square
#D151D6 #D68E51 #56D651 #5199D6
split-complementary
#D151D6 #99D651 #51D68E
monochromatic
#88218C #B82DBD #D151D6 #DE83E2 #EBB4ED

Accessibility & contrast

On white

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

On black

5.86
#D151D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D6#FFFFFF#000000##000000
##D151D61.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDA
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#D6638C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d151d6;
/* rgb */ color: rgb(209, 81, 214);
/* oklch */ color: oklch(65.3% 0.222 326.2);
Tailwind
colors: {
  custom: {
    50: '#e28ae3',
    500: '#d151d6',
    950: '#000000',
  },
}
SCSS
$custom: #d151d6;
$custom-light: #e28ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d6",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 297.744,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65256,
    "c": 0.22182,
    "h": 326.2
  },
  "luminance": 0.24295
}

Semantic roles & 50–950 ramp

primary
#D151D6
secondary
#A9DCA7
accent
#E54349
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151D6

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

Preview Lab → · Contrast checker → · Palette generator →

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