#D178CC#D178CC

#D178CC is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.8% C 0.153 H 329.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D178CC
RGBrgb(209, 120, 204)
HSLhsl(303, 49%, 65%)
HSVhsv(303, 43%, 82%)
CMYKcmyk(0%, 42.6%, 2.4%, 18%)
CIE-LABlab(62.80, 46.86, -28.88)
CIE-LCHlch(62.80, 55.04, 328.36°)
OKLaboklab(69.84% 0.1315 -0.0786)
OKLCHoklch(69.84% 0.153 329.1)
XYZxyz(43.9094, 31.3501, 60.8534)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178CC #78D17D
analogous
#AA78D1 #D178CC #D178A0
triadic
#D178CC #CCD178 #78CCD1
tetradic
#D178CC #D1AA78 #78D17D #78A0D1
square
#D178CC #D1AA78 #78D17D #78A0D1
split-complementary
#D178CC #A0D178 #78D1AA
monochromatic
#9A3594 #C14ABB #D178CC #E1A6DD #F0D3EE

Accessibility & contrast

On white

2.89
#D178CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D178CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178CC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178CC#FFFFFF#000000##000000
##D178CC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#D77F99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d178cc;
/* rgb */ color: rgb(209, 120, 204);
/* oklch */ color: oklch(69.8% 0.153 329.1);
Tailwind
colors: {
  custom: {
    50: '#e1a1db',
    500: '#d178cc',
    950: '#000000',
  },
}
SCSS
$custom: #d178cc;
$custom-light: #e1a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d178cc",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 303.371,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69836,
    "c": 0.15319,
    "h": 329.1
  },
  "luminance": 0.31348
}

Semantic roles & 50–950 ramp

primary
#D178CC
secondary
#C3E2C5
accent
#BC3129
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#150F15
muted
#847F83

Preview Lab

Preview with #D178CC

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

Preview Lab → · Contrast checker → · Palette generator →

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