#D178CA#D178CA

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

Color values

HEX#D178CA
RGBrgb(209, 120, 202)
HSLhsl(305, 49%, 65%)
HSVhsv(305, 43%, 82%)
CMYKcmyk(0%, 42.6%, 3.3%, 18%)
CIE-LABlab(62.72, 46.50, -27.87)
CIE-LCHlch(62.72, 54.22, 329.06°)
OKLaboklab(69.75% 0.131 -0.0758)
OKLCHoklch(69.75% 0.151 329.9)
XYZxyz(43.6711, 31.2548, 59.5981)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178CA #78D17F
analogous
#AC78D1 #D178CA #D1789E
triadic
#D178CA #CAD178 #78CAD1
tetradic
#D178CA #D1AC78 #78D17F #789ED1
square
#D178CA #D1AC78 #78D17F #789ED1
split-complementary
#D178CA #9ED178 #78D1AC
monochromatic
#9A3592 #C14AB8 #D178CA #E1A6DC #F0D3EE

Accessibility & contrast

On white

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

On black

7.25
#D178CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178CA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178CA#FFFFFF#000000##000000
##D178CA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#8C9CC7
Tritanopia (blue-blind)
#D77F98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d178ca;
/* rgb */ color: rgb(209, 120, 202);
/* oklch */ color: oklch(69.8% 0.151 329.9);
Tailwind
colors: {
  custom: {
    50: '#e1a1da',
    500: '#d178ca',
    950: '#000000',
  },
}
SCSS
$custom: #d178ca;
$custom-light: #e1a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d178ca",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 304.719,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6975,
    "c": 0.15137,
    "h": 329.9
  },
  "luminance": 0.31253
}

Semantic roles & 50–950 ramp

primary
#D178CA
secondary
#C3E2C5
accent
#BC3529
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #D178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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