#D151C6#D151C6

#D151C6 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.4% C 0.209 H 331.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D151C6
RGBrgb(209, 81, 198)
HSLhsl(305, 58%, 57%)
HSVhsv(305, 61%, 82%)
CMYKcmyk(0%, 61.2%, 5.3%, 18%)
CIE-LABlab(55.60, 64.27, -36.67)
CIE-LCHlch(55.60, 73.99, 330.29°)
OKLaboklab(64.44% 0.1831 -0.1006)
OKLCHoklch(64.44% 0.209 331.2)
XYZxyz(39.4298, 23.5202, 55.8782)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C6 #51D15C
analogous
#9C51D1 #D151C6 #D15186
triadic
#D151C6 #C6D151 #51C6D1
tetradic
#D151C6 #D19C51 #51D15C #5186D1
square
#D151C6 #D19C51 #51D15C #5186D1
split-complementary
#D151C6 #86D151 #51D19C
monochromatic
#85237C #B530AA #D151C6 #DE81D6 #EBB2E6

Accessibility & contrast

On white

3.68
#D151C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D151C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151C6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151C6#FFFFFF#000000##000000
##D151C61.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#758CC3
Tritanopia (blue-blind)
#D95D84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d151c6;
/* rgb */ color: rgb(209, 81, 198);
/* oklch */ color: oklch(64.4% 0.209 331.2);
Tailwind
colors: {
  custom: {
    50: '#e28ad7',
    500: '#d151c6',
    950: '#000000',
  },
}
SCSS
$custom: #d151c6;
$custom-light: #e28ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c6",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 305.156,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64435,
    "c": 0.2089,
    "h": 331.2
  },
  "luminance": 0.23517
}

Semantic roles & 50–950 ramp

primary
#D151C6
secondary
#A5D9A9
accent
#E15446
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D151C6

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

Preview Lab → · Contrast checker → · Palette generator →

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