#D151D4#D151D4

#D151D4 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.220 H 326.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D151D4
RGBrgb(209, 81, 212)
HSLhsl(299, 60%, 57%)
HSVhsv(299, 62%, 83%)
CMYKcmyk(1.4%, 61.8%, 0%, 16.9%)
CIE-LABlab(56.28, 66.59, -43.58)
CIE-LCHlch(56.28, 79.59, 326.80°)
OKLaboklab(65.15% 0.1843 -0.1205)
OKLCHoklch(65.15% 0.22 326.8)
XYZxyz(41.1199, 24.1962, 64.7791)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151D4 #54D451
analogous
#9051D4 #D151D4 #D45195
triadic
#D151D4 #D4D151 #51D4D1
tetradic
#D151D4 #D49051 #54D451 #5195D4
square
#D151D4 #D49051 #54D451 #5195D4
split-complementary
#D151D4 #95D451 #51D490
monochromatic
#862289 #B72EBA #D151D4 #DE82E0 #EBB3EC

Accessibility & contrast

On white

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

On black

5.84
#D151D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151D4#FFFFFF#000000##000000
##D151D41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD8
Deuteranopia (green-blind)
#6E8DD0
Tritanopia (blue-blind)
#D7638B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d151d4;
/* rgb */ color: rgb(209, 81, 212);
/* oklch */ color: oklch(65.1% 0.220 326.8);
Tailwind
colors: {
  custom: {
    50: '#e28ae2',
    500: '#d151d4',
    950: '#000000',
  },
}
SCSS
$custom: #d151d4;
$custom-light: #e28ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d151d4",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 298.626,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.22017,
    "h": 326.8
  },
  "luminance": 0.24194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D151D4

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

Preview Lab → · Contrast checker → · Palette generator →

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