#D154D7#D154D7

#D154D7 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.219 H 325.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D154D7
RGBrgb(209, 84, 215)
HSLhsl(297, 62%, 59%)
HSVhsv(297, 61%, 84%)
CMYKcmyk(2.8%, 60.9%, 0%, 15.7%)
CIE-LABlab(56.88, 65.86, -44.34)
CIE-LCHlch(56.88, 79.39, 326.05°)
OKLaboklab(65.64% 0.181 -0.1227)
OKLCHoklch(65.64% 0.219 325.9)
XYZxyz(41.7297, 24.8048, 66.8666)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D154D7 #5AD754
analogous
#8F54D7 #D154D7 #D7549B
triadic
#D154D7 #D7D154 #54D7D1
tetradic
#D154D7 #D78F54 #5AD754 #549BD7
square
#D154D7 #D78F54 #5AD754 #549BD7
split-complementary
#D154D7 #9BD754 #54D78F
monochromatic
#8A218F #BA2DC1 #D154D7 #DE86E3 #ECB7EE

Accessibility & contrast

On white

3.52
#D154D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D154D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D154D7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D154D7#FFFFFF#000000##000000
##D154D71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDB
Deuteranopia (green-blind)
#6E8ED3
Tritanopia (blue-blind)
#D6668E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d154d7;
/* rgb */ color: rgb(209, 84, 215);
/* oklch */ color: oklch(65.6% 0.219 325.9);
Tailwind
colors: {
  custom: {
    50: '#e28ce4',
    500: '#d154d7',
    950: '#000000',
  },
}
SCSS
$custom: #d154d7;
$custom-light: #e28ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#d154d7",
  "rgb": {
    "r": 209,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 297.252,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65635,
    "c": 0.21864,
    "h": 325.9
  },
  "luminance": 0.24802
}

Semantic roles & 50–950 ramp

primary
#D154D7
secondary
#ACDDA9
accent
#E5434A
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D154D7

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

Preview Lab → · Contrast checker → · Palette generator →

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