#D151C9#D151C9

#D151C9 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.211 H 330.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D151C9
RGBrgb(209, 81, 201)
HSLhsl(304, 58%, 57%)
HSVhsv(304, 61%, 82%)
CMYKcmyk(0%, 61.2%, 3.8%, 18%)
CIE-LABlab(55.75, 64.75, -38.16)
CIE-LCHlch(55.75, 75.16, 329.49°)
OKLaboklab(64.58% 0.1834 -0.1049)
OKLCHoklch(64.58% 0.211 330.2)
XYZxyz(39.7793, 23.6600, 57.7187)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C9 #51D159
analogous
#9951D1 #D151C9 #D15189
triadic
#D151C9 #C9D151 #51C9D1
tetradic
#D151C9 #D19951 #51D159 #5189D1
square
#D151C9 #D19951 #51D159 #5189D1
split-complementary
#D151C9 #89D151 #51D199
monochromatic
#85237E #B530AD #D151C9 #DE81D8 #EBB2E7

Accessibility & contrast

On white

3.66
#D151C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D151C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151C9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151C9#FFFFFF#000000##000000
##D151C91.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACD
Deuteranopia (green-blind)
#738CC6
Tritanopia (blue-blind)
#D85E86
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d151c9;
/* rgb */ color: rgb(209, 81, 201);
/* oklch */ color: oklch(64.6% 0.211 330.2);
Tailwind
colors: {
  custom: {
    50: '#e28ada',
    500: '#d151c9',
    950: '#000000',
  },
}
SCSS
$custom: #d151c9;
$custom-light: #e28ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c9",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 201
  },
  "hsl": {
    "h": 303.75,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64584,
    "c": 0.21127,
    "h": 330.2
  },
  "luminance": 0.23657
}

Semantic roles & 50–950 ramp

primary
#D151C9
secondary
#A5D9A8
accent
#E15046
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151C9

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

Preview Lab → · Contrast checker → · Palette generator →

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