#D178C8#D178C8

#D178C8 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.7% C 0.150 H 330.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D178C8
RGBrgb(209, 120, 200)
HSLhsl(306, 49%, 65%)
HSVhsv(306, 43%, 82%)
CMYKcmyk(0%, 42.6%, 4.3%, 18%)
CIE-LABlab(62.64, 46.15, -26.87)
CIE-LCHlch(62.64, 53.40, 329.79°)
OKLaboklab(69.66% 0.1306 -0.073)
OKLCHoklch(69.66% 0.15 330.8)
XYZxyz(43.4358, 31.1607, 58.3591)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178C8 #78D181
analogous
#AD78D1 #D178C8 #D1789C
triadic
#D178C8 #C8D178 #78C8D1
tetradic
#D178C8 #D1AD78 #78D181 #789CD1
square
#D178C8 #D1AD78 #78D181 #789CD1
split-complementary
#D178C8 #9CD178 #78D1AD
monochromatic
#9A3590 #C14AB5 #D178C8 #E1A6DB #F0D3ED

Accessibility & contrast

On white

2.90
#D178C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D178C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178C8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178C8#FFFFFF#000000##000000
##D178C81.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CB
Deuteranopia (green-blind)
#8C9CC5
Tritanopia (blue-blind)
#D77E97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d178c8;
/* rgb */ color: rgb(209, 120, 200);
/* oklch */ color: oklch(69.7% 0.150 330.8);
Tailwind
colors: {
  custom: {
    50: '#e1a1d9',
    500: '#d178c8',
    950: '#000000',
  },
}
SCSS
$custom: #d178c8;
$custom-light: #e1a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d178c8",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 306.067,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.14957,
    "h": 330.8
  },
  "luminance": 0.31158
}

Semantic roles & 50–950 ramp

primary
#D178C8
secondary
#C3E2C6
accent
#BC3829
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D178C8

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

Preview Lab → · Contrast checker → · Palette generator →

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