#D151D0#D151D0

#D151D0 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.217 H 328.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D151D0
RGBrgb(209, 81, 208)
HSLhsl(300, 58%, 57%)
HSVhsv(300, 61%, 82%)
CMYKcmyk(0%, 61.2%, 0.5%, 18%)
CIE-LABlab(56.08, 65.92, -41.62)
CIE-LCHlch(56.08, 77.96, 327.73°)
OKLaboklab(64.94% 0.184 -0.1148)
OKLCHoklch(64.94% 0.217 328)
XYZxyz(40.6215, 23.9969, 62.1546)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D0 #51D152
analogous
#9251D1 #D151D0 #D15190
triadic
#D151D0 #D0D151 #51D0D1
tetradic
#D151D0 #D19251 #51D152 #5190D1
square
#D151D0 #D19251 #51D152 #5190D1
split-complementary
#D151D0 #90D151 #51D192
monochromatic
#852384 #B530B4 #D151D0 #DE81DD #EBB2EA

Accessibility & contrast

On white

3.62
#D151D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D151D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D0#FFFFFF#000000##000000
##D151D01.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD4
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#D76189
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d151d0;
/* rgb */ color: rgb(209, 81, 208);
/* oklch */ color: oklch(64.9% 0.217 328.0);
Tailwind
colors: {
  custom: {
    50: '#e28adf',
    500: '#d151d0',
    950: '#000000',
  },
}
SCSS
$custom: #d151d0;
$custom-light: #e28adf;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d0",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 300.469,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64941,
    "c": 0.2169,
    "h": 328
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#D151D0
secondary
#A5D9A5
accent
#E14846
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151D0

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

Preview Lab → · Contrast checker → · Palette generator →

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