#D178CD#D178CD

#D178CD is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.9% C 0.154 H 328.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D178CD
RGBrgb(209, 120, 205)
HSLhsl(303, 49%, 65%)
HSVhsv(303, 43%, 82%)
CMYKcmyk(0%, 42.6%, 1.9%, 18%)
CIE-LABlab(62.84, 47.04, -29.38)
CIE-LCHlch(62.84, 55.46, 328.01°)
OKLaboklab(69.88% 0.1317 -0.0801)
OKLCHoklch(69.88% 0.154 328.7)
XYZxyz(44.0297, 31.3983, 61.4870)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178CD #78D17C
analogous
#A978D1 #D178CD #D178A0
triadic
#D178CD #CDD178 #78CDD1
tetradic
#D178CD #D1A978 #78D17C #78A0D1
square
#D178CD #D1A978 #78D17C #78A0D1
split-complementary
#D178CD #A0D178 #78D1A9
monochromatic
#9A3596 #C14ABC #D178CD #E1A6DE #F0D3EF

Accessibility & contrast

On white

2.88
#D178CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D178CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178CD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178CD#FFFFFF#000000##000000
##D178CD1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D0
Deuteranopia (green-blind)
#8B9CCA
Tritanopia (blue-blind)
#D78099
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d178cd;
/* rgb */ color: rgb(209, 120, 205);
/* oklch */ color: oklch(69.9% 0.154 328.7);
Tailwind
colors: {
  custom: {
    50: '#e1a1dc',
    500: '#d178cd',
    950: '#000000',
  },
}
SCSS
$custom: #d178cd;
$custom-light: #e1a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d178cd",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 302.697,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6988,
    "c": 0.1541,
    "h": 328.7
  },
  "luminance": 0.31396
}

Semantic roles & 50–950 ramp

primary
#D178CD
secondary
#C3E2C4
accent
#BC3029
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#150F15
muted
#847F83

Preview Lab

Preview with #D178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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