#D151D2#D151D2

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

Color values

HEX#D151D2
RGBrgb(209, 81, 210)
HSLhsl(300, 59%, 57%)
HSVhsv(300, 61%, 82%)
CMYKcmyk(0.5%, 61.4%, 0%, 17.6%)
CIE-LABlab(56.18, 66.25, -42.61)
CIE-LCHlch(56.18, 78.77, 327.26°)
OKLaboklab(65.05% 0.1841 -0.1177)
OKLCHoklch(65.05% 0.219 327.4)
XYZxyz(40.8692, 24.0960, 63.4586)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D2 #52D251
analogous
#9151D2 #D151D2 #D25193
triadic
#D151D2 #D2D151 #51D2D1
tetradic
#D151D2 #D29151 #52D251 #5193D2
square
#D151D2 #D29151 #52D251 #5193D2
split-complementary
#D151D2 #93D251 #51D291
monochromatic
#852386 #B62FB7 #D151D2 #DE82DF #EBB2EB

Accessibility & contrast

On white

3.61
#D151D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D151D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D2#FFFFFF#000000##000000
##D151D21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#6F8DCE
Tritanopia (blue-blind)
#D7628A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d151d2;
/* rgb */ color: rgb(209, 81, 210);
/* oklch */ color: oklch(65.0% 0.219 327.4);
Tailwind
colors: {
  custom: {
    50: '#e28ae0',
    500: '#d151d2',
    950: '#000000',
  },
}
SCSS
$custom: #d151d2;
$custom-light: #e28ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d2",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 299.535,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65045,
    "c": 0.21853,
    "h": 327.4
  },
  "luminance": 0.24093
}

Semantic roles & 50–950 ramp

primary
#D151D2
secondary
#A6DAA5
accent
#E24647
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151D2

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

Preview Lab → · Contrast checker → · Palette generator →

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