#D151C5#D151C5

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

Color values

HEX#D151C5
RGBrgb(209, 81, 197)
HSLhsl(306, 58%, 57%)
HSVhsv(306, 61%, 82%)
CMYKcmyk(0%, 61.2%, 5.7%, 18%)
CIE-LABlab(55.56, 64.11, -36.17)
CIE-LCHlch(55.56, 73.61, 330.57°)
OKLaboklab(64.39% 0.183 -0.0991)
OKLCHoklch(64.39% 0.208 331.6)
XYZxyz(39.3149, 23.4742, 55.2728)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C5 #51D15D
analogous
#9D51D1 #D151C5 #D15185
triadic
#D151C5 #C5D151 #51C5D1
tetradic
#D151C5 #D19D51 #51D15D #5185D1
square
#D151C5 #D19D51 #51D15D #5185D1
split-complementary
#D151C5 #85D151 #51D19D
monochromatic
#85237B #B530A8 #D151C5 #DE81D5 #EBB2E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D151C5#FFFFFF#000000##000000
##D151C51.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)
#4A7AC9
Deuteranopia (green-blind)
#758CC2
Tritanopia (blue-blind)
#D95D84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d151c5;
/* rgb */ color: rgb(209, 81, 197);
/* oklch */ color: oklch(64.4% 0.208 331.6);
Tailwind
colors: {
  custom: {
    50: '#e28ad7',
    500: '#d151c5',
    950: '#000000',
  },
}
SCSS
$custom: #d151c5;
$custom-light: #e28ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c5",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 305.625,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64386,
    "c": 0.20812,
    "h": 331.6
  },
  "luminance": 0.23471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D151C5

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

Preview Lab → · Contrast checker → · Palette generator →

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