#D154C5#D154C5

#D154C5 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.204 H 331.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D154C5
RGBrgb(209, 84, 197)
HSLhsl(306, 58%, 57%)
HSVhsv(306, 60%, 82%)
CMYKcmyk(0%, 59.8%, 5.7%, 18%)
CIE-LABlab(56.02, 62.84, -35.45)
CIE-LCHlch(56.02, 72.15, 330.57°)
OKLaboklab(64.72% 0.1793 -0.0971)
OKLCHoklch(64.72% 0.204 331.6)
XYZxyz(39.5428, 23.9300, 55.3487)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D154C5 #54D160
analogous
#9F54D1 #D154C5 #D15486
triadic
#D154C5 #C5D154 #54C5D1
tetradic
#D154C5 #D19F54 #54D160 #5486D1
square
#D154C5 #D19F54 #54D160 #5486D1
split-complementary
#D154C5 #86D154 #54D19F
monochromatic
#86247D #B731AA #D154C5 #DE84D5 #EBB4E6

Accessibility & contrast

On white

3.63
#D154C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D154C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D154C5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D154C5#FFFFFF#000000##000000
##D154C51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#778DC2
Tritanopia (blue-blind)
#D95F85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d154c5;
/* rgb */ color: rgb(209, 84, 197);
/* oklch */ color: oklch(64.7% 0.204 331.6);
Tailwind
colors: {
  custom: {
    50: '#e28bd7',
    500: '#d154c5',
    950: '#000000',
  },
}
SCSS
$custom: #d154c5;
$custom-light: #e28bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d154c5",
  "rgb": {
    "r": 209,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 305.76,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.20393,
    "h": 331.6
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#D154C5
secondary
#A7DAAC
accent
#E15647
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #D154C5

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

Preview Lab → · Contrast checker → · Palette generator →

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