#D151D5#D151D5

#D151D5 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.221 H 326.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D151D5
RGBrgb(209, 81, 213)
HSLhsl(298, 61%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(1.9%, 62%, 0%, 16.5%)
CIE-LABlab(56.33, 66.76, -44.07)
CIE-LCHlch(56.33, 80.00, 326.57°)
OKLaboklab(65.2% 0.1843 -0.1219)
OKLCHoklch(65.2% 0.221 326.5)
XYZxyz(41.2464, 24.2469, 65.4455)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D5 #55D551
analogous
#8F51D5 #D151D5 #D55197
triadic
#D151D5 #D5D151 #51D5D1
tetradic
#D151D5 #D58F51 #55D551 #5197D5
square
#D151D5 #D58F51 #55D551 #5197D5
split-complementary
#D151D5 #97D551 #51D58F
monochromatic
#87218A #B72DBC #D151D5 #DE82E1 #EBB4ED

Accessibility & contrast

On white

3.59
#D151D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D151D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D5#FFFFFF#000000##000000
##D151D51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d151d5;
/* rgb */ color: rgb(209, 81, 213);
/* oklch */ color: oklch(65.2% 0.221 326.5);
Tailwind
colors: {
  custom: {
    50: '#e28ae2',
    500: '#d151d5',
    950: '#000000',
  },
}
SCSS
$custom: #d151d5;
$custom-light: #e28ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d5",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 298.182,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65203,
    "c": 0.22099,
    "h": 326.5
  },
  "luminance": 0.24244
}

Semantic roles & 50–950 ramp

primary
#D151D5
secondary
#A8DBA6
accent
#E44448
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151D5

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

Preview Lab → · Contrast checker → · Palette generator →

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