#D178DE#D178DE

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

Color values

HEX#D178DE
RGBrgb(209, 120, 222)
HSLhsl(292, 61%, 67%)
HSVhsv(292, 46%, 87%)
CMYKcmyk(5.9%, 45.9%, 0%, 12.9%)
CIE-LABlab(63.56, 50.18, -37.78)
CIE-LCHlch(63.56, 62.82, 323.02°)
OKLaboklab(70.65% 0.1349 -0.1041)
OKLCHoklch(70.65% 0.17 322.3)
XYZxyz(46.1944, 32.2641, 72.8874)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178DE #85DE78
analogous
#9E78DE #D178DE #DE78B8
triadic
#D178DE #DED178 #78DED1
tetradic
#D178DE #DE9E78 #85DE78 #78B8DE
square
#D178DE #DE9E78 #85DE78 #78B8DE
split-complementary
#D178DE #B8DE78 #78DE9E
monochromatic
#9F2BB0 #C047D2 #D178DE #E2A9EA #F3DAF6

Accessibility & contrast

On white

2.82
#D178DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D178DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178DE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178DE#FFFFFF#000000##000000
##D178DE1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E2
Deuteranopia (green-blind)
#849DDB
Tritanopia (blue-blind)
#D485A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d178de;
/* rgb */ color: rgb(209, 120, 222);
/* oklch */ color: oklch(70.7% 0.170 322.3);
Tailwind
colors: {
  custom: {
    50: '#e1a1e8',
    500: '#d178de',
    950: '#000000',
  },
}
SCSS
$custom: #d178de;
$custom-light: #e1a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d178de",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 292.353,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70651,
    "c": 0.17036,
    "h": 322.3
  },
  "luminance": 0.32262
}

Semantic roles & 50–950 ramp

primary
#D178DE
secondary
#CDE9C9
accent
#C81D33
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D178DE

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

Preview Lab → · Contrast checker → · Palette generator →

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