#D151C8#D151C8

#D151C8 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.210 H 330.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D151C8
RGBrgb(209, 81, 200)
HSLhsl(304, 58%, 57%)
HSVhsv(304, 61%, 82%)
CMYKcmyk(0%, 61.2%, 4.3%, 18%)
CIE-LABlab(55.70, 64.59, -37.67)
CIE-LCHlch(55.70, 74.77, 329.75°)
OKLaboklab(64.53% 0.1833 -0.1034)
OKLCHoklch(64.53% 0.21 330.6)
XYZxyz(39.6620, 23.6131, 57.1012)
Luminance0.2361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C8 #51D15A
analogous
#9A51D1 #D151C8 #D15188
triadic
#D151C8 #C8D151 #51C8D1
tetradic
#D151C8 #D19A51 #51D15A #5188D1
square
#D151C8 #D19A51 #51D15A #5188D1
split-complementary
#D151C8 #88D151 #51D19A
monochromatic
#85237E #B530AC #D151C8 #DE81D7 #EBB2E7

Accessibility & contrast

On white

3.67
#D151C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D151C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151C8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151C8#FFFFFF#000000##000000
##D151C81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACC
Deuteranopia (green-blind)
#748CC5
Tritanopia (blue-blind)
#D95E85
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d151c8;
/* rgb */ color: rgb(209, 81, 200);
/* oklch */ color: oklch(64.5% 0.210 330.6);
Tailwind
colors: {
  custom: {
    50: '#e28ad9',
    500: '#d151c8',
    950: '#000000',
  },
}
SCSS
$custom: #d151c8;
$custom-light: #e28ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c8",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 304.219,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64534,
    "c": 0.21048,
    "h": 330.6
  },
  "luminance": 0.2361
}

Semantic roles & 50–950 ramp

primary
#D151C8
secondary
#A5D9A8
accent
#E15146
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D151C8

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

Preview Lab → · Contrast checker → · Palette generator →

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