#D178DF#D178DF

#D178DF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.171 H 322.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D178DF
RGBrgb(209, 120, 223)
HSLhsl(292, 62%, 67%)
HSVhsv(292, 46%, 87%)
CMYKcmyk(6.3%, 46.2%, 0%, 12.5%)
CIE-LABlab(63.60, 50.37, -38.27)
CIE-LCHlch(63.60, 63.26, 322.77°)
OKLaboklab(70.7% 0.135 -0.1055)
OKLCHoklch(70.7% 0.171 322)
XYZxyz(46.3288, 32.3179, 73.5953)
Luminance0.3232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178DF #86DF78
analogous
#9E78DF #D178DF #DF78B9
triadic
#D178DF #DFD178 #78DFD1
tetradic
#D178DF #DF9E78 #86DF78 #78B9DF
square
#D178DF #DF9E78 #86DF78 #78B9DF
split-complementary
#D178DF #B9DF78 #78DF9E
monochromatic
#A02AB2 #C047D3 #D178DF #E2A9EB #F3DBF6

Accessibility & contrast

On white

2.81
#D178DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D178DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178DF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178DF#FFFFFF#000000##000000
##D178DF1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E3
Deuteranopia (green-blind)
#839EDC
Tritanopia (blue-blind)
#D385A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d178df;
/* rgb */ color: rgb(209, 120, 223);
/* oklch */ color: oklch(70.7% 0.171 322.0);
Tailwind
colors: {
  custom: {
    50: '#e1a1e9',
    500: '#d178df',
    950: '#000000',
  },
}
SCSS
$custom: #d178df;
$custom-light: #e1a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d178df",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 291.845,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70698,
    "c": 0.17135,
    "h": 322
  },
  "luminance": 0.32316
}

Semantic roles & 50–950 ramp

primary
#D178DF
secondary
#CEEAC9
accent
#C91C34
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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