#D178CB#D178CB

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

Color values

HEX#D178CB
RGBrgb(209, 120, 203)
HSLhsl(304, 49%, 65%)
HSVhsv(304, 43%, 82%)
CMYKcmyk(0%, 42.6%, 2.9%, 18%)
CIE-LABlab(62.76, 46.68, -28.38)
CIE-LCHlch(62.76, 54.63, 328.71°)
OKLaboklab(69.79% 0.1312 -0.0772)
OKLCHoklch(69.79% 0.152 329.5)
XYZxyz(43.7899, 31.3023, 60.2237)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178CB #78D17E
analogous
#AB78D1 #D178CB #D1789F
triadic
#D178CB #CBD178 #78CBD1
tetradic
#D178CB #D1AB78 #78D17E #789FD1
square
#D178CB #D1AB78 #78D17E #789FD1
split-complementary
#D178CB #9FD178 #78D1AB
monochromatic
#9A3593 #C14AB9 #D178CB #E1A6DD #F0D3EE

Accessibility & contrast

On white

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

On black

7.26
#D178CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178CB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178CB#FFFFFF#000000##000000
##D178CB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#D77F98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d178cb;
/* rgb */ color: rgb(209, 120, 203);
/* oklch */ color: oklch(69.8% 0.152 329.5);
Tailwind
colors: {
  custom: {
    50: '#e1a1db',
    500: '#d178cb',
    950: '#000000',
  },
}
SCSS
$custom: #d178cb;
$custom-light: #e1a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d178cb",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 304.045,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69793,
    "c": 0.15227,
    "h": 329.5
  },
  "luminance": 0.313
}

Semantic roles & 50–950 ramp

primary
#D178CB
secondary
#C3E2C5
accent
#BC3329
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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