#D151DF#D151DF

#D151DF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.229 H 323.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D151DF
RGBrgb(209, 81, 223)
HSLhsl(294, 69%, 60%)
HSVhsv(294, 64%, 87%)
CMYKcmyk(6.3%, 63.7%, 0%, 12.5%)
CIE-LABlab(56.85, 68.50, -48.91)
CIE-LCHlch(56.85, 84.17, 324.47°)
OKLaboklab(65.74% 0.1847 -0.136)
OKLCHoklch(65.74% 0.229 323.6)
XYZxyz(42.5550, 24.7703, 72.3374)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151DF #5FDF51
analogous
#8A51DF #D151DF #DF51A6
triadic
#D151DF #DFD151 #51DFD1
tetradic
#D151DF #DF8A51 #5FDF51 #51A6DF
square
#D151DF #DF8A51 #5FDF51 #51A6DF
split-complementary
#D151DF #A6DF51 #51DF8A
monochromatic
#8D1C99 #BD26CD #D151DF #DF85E9 #ECB8F2

Accessibility & contrast

On white

3.53
#D151DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D151DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151DF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151DF#FFFFFF#000000##000000
##D151DF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#678EDB
Tritanopia (blue-blind)
#D56791
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d151df;
/* rgb */ color: rgb(209, 81, 223);
/* oklch */ color: oklch(65.7% 0.229 323.6);
Tailwind
colors: {
  custom: {
    50: '#e38ae9',
    500: '#d151df',
    950: '#000000',
  },
}
SCSS
$custom: #d151df;
$custom-light: #e38ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#d151df",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 294.085,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65744,
    "c": 0.22935,
    "h": 323.6
  },
  "luminance": 0.24768
}

Semantic roles & 50–950 ramp

primary
#D151DF
secondary
#B0E1AA
accent
#EC3C4D
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D151DF

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

Preview Lab → · Contrast checker → · Palette generator →

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