#D151C4#D151C4

#D151C4 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.207 H 331.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D151C4
RGBrgb(209, 81, 196)
HSLhsl(306, 58%, 57%)
HSVhsv(306, 61%, 82%)
CMYKcmyk(0%, 61.2%, 6.2%, 18%)
CIE-LABlab(55.51, 63.94, -35.67)
CIE-LCHlch(55.51, 73.22, 330.85°)
OKLaboklab(64.34% 0.1829 -0.0977)
OKLCHoklch(64.34% 0.207 331.9)
XYZxyz(39.2007, 23.4286, 54.6713)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C4 #51D15E
analogous
#9E51D1 #D151C4 #D15184
triadic
#D151C4 #C4D151 #51C4D1
tetradic
#D151C4 #D19E51 #51D15E #5184D1
square
#D151C4 #D19E51 #51D15E #5184D1
split-complementary
#D151C4 #84D151 #51D19E
monochromatic
#85237B #B530A7 #D151C4 #DE81D4 #EBB2E5

Accessibility & contrast

On white

3.69
#D151C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D151C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151C4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151C4#FFFFFF#000000##000000
##D151C41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C7
Deuteranopia (green-blind)
#758BC1
Tritanopia (blue-blind)
#D95C83
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d151c4;
/* rgb */ color: rgb(209, 81, 196);
/* oklch */ color: oklch(64.3% 0.207 331.9);
Tailwind
colors: {
  custom: {
    50: '#e28ad6',
    500: '#d151c4',
    950: '#000000',
  },
}
SCSS
$custom: #d151c4;
$custom-light: #e28ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c4",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 306.094,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64337,
    "c": 0.20733,
    "h": 331.9
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

primary
#D151C4
secondary
#A5D9AA
accent
#E15646
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D151C4

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

Preview Lab → · Contrast checker → · Palette generator →

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