#D151D3#D151D3

#D151D3 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.1% C 0.219 H 327.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#D151D3
RGBrgb(209, 81, 211)
HSLhsl(299, 60%, 57%)
HSVhsv(299, 62%, 83%)
CMYKcmyk(0.9%, 61.6%, 0%, 17.3%)
CIE-LABlab(56.23, 66.42, -43.10)
CIE-LCHlch(56.23, 79.18, 327.02°)
OKLaboklab(65.1% 0.1842 -0.1191)
OKLCHoklch(65.1% 0.219 327.1)
XYZxyz(40.9941, 24.1459, 64.1168)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D3 #53D351
analogous
#9051D3 #D151D3 #D35194
triadic
#D151D3 #D3D151 #51D3D1
tetradic
#D151D3 #D39051 #53D351 #5194D3
square
#D151D3 #D39051 #53D351 #5194D3
split-complementary
#D151D3 #94D351 #51D390
monochromatic
#862287 #B62FB8 #D151D3 #DE82DF #EBB3EC

Accessibility & contrast

On white

3.60
#D151D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D151D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D3#FFFFFF#000000##000000
##D151D31.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD7
Deuteranopia (green-blind)
#6E8DCF
Tritanopia (blue-blind)
#D7628B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d151d3;
/* rgb */ color: rgb(209, 81, 211);
/* oklch */ color: oklch(65.1% 0.219 327.1);
Tailwind
colors: {
  custom: {
    50: '#e28ae1',
    500: '#d151d3',
    950: '#000000',
  },
}
SCSS
$custom: #d151d3;
$custom-light: #e28ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d3",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 299.077,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65097,
    "c": 0.21934,
    "h": 327.1
  },
  "luminance": 0.24143
}

Semantic roles & 50–950 ramp

primary
#D151D3
secondary
#A6DAA6
accent
#E34547
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151D3

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

Preview Lab → · Contrast checker → · Palette generator →

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