#D178CE#D178CE

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

Color values

HEX#D178CE
RGBrgb(209, 120, 206)
HSLhsl(302, 49%, 65%)
HSVhsv(302, 43%, 82%)
CMYKcmyk(0%, 42.6%, 1.4%, 18%)
CIE-LABlab(62.88, 47.22, -29.88)
CIE-LCHlch(62.88, 55.88, 327.68°)
OKLaboklab(69.92% 0.1319 -0.0815)
OKLCHoklch(69.92% 0.155 328.3)
XYZxyz(44.1508, 31.4467, 62.1248)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178CE #78D17B
analogous
#A778D1 #D178CE #D178A2
triadic
#D178CE #CED178 #78CED1
tetradic
#D178CE #D1A778 #78D17B #78A2D1
square
#D178CE #D1A778 #78D17B #78A2D1
split-complementary
#D178CE #A2D178 #78D1A7
monochromatic
#9A3597 #C14ABD #D178CE #E1A6DF #F0D3EF

Accessibility & contrast

On white

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

On black

7.29
#D178CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178CE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178CE#FFFFFF#000000##000000
##D178CE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D1
Deuteranopia (green-blind)
#8A9CCB
Tritanopia (blue-blind)
#D68099
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d178ce;
/* rgb */ color: rgb(209, 120, 206);
/* oklch */ color: oklch(69.9% 0.155 328.3);
Tailwind
colors: {
  custom: {
    50: '#e1a1dd',
    500: '#d178ce',
    950: '#000000',
  },
}
SCSS
$custom: #d178ce;
$custom-light: #e1a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d178ce",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 302.022,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69923,
    "c": 0.15502,
    "h": 328.3
  },
  "luminance": 0.31444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D178CE

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

Preview Lab → · Contrast checker → · Palette generator →

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