#D178CF#D178CF

#D178CF is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.156 H 327.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D178CF
RGBrgb(209, 120, 207)
HSLhsl(301, 49%, 65%)
HSVhsv(301, 43%, 82%)
CMYKcmyk(0%, 42.6%, 1%, 18%)
CIE-LABlab(62.92, 47.40, -30.38)
CIE-LCHlch(62.92, 56.30, 327.35°)
OKLaboklab(69.97% 0.1321 -0.0829)
OKLCHoklch(69.97% 0.156 327.9)
XYZxyz(44.2727, 31.4954, 62.7666)
Luminance0.3149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178CF #78D17A
analogous
#A778D1 #D178CF #D178A3
triadic
#D178CF #CFD178 #78CFD1
tetradic
#D178CF #D1A778 #78D17A #78A3D1
square
#D178CF #D1A778 #78D17A #78A3D1
split-complementary
#D178CF #A3D178 #78D1A7
monochromatic
#9A3598 #C14ABF #D178CF #E1A6DF #F0D3EF

Accessibility & contrast

On white

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

On black

7.30
#D178CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178CF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178CF#FFFFFF#000000##000000
##D178CF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D2
Deuteranopia (green-blind)
#8A9CCC
Tritanopia (blue-blind)
#D6809A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d178cf;
/* rgb */ color: rgb(209, 120, 207);
/* oklch */ color: oklch(70.0% 0.156 327.9);
Tailwind
colors: {
  custom: {
    50: '#e1a1de',
    500: '#d178cf',
    950: '#000000',
  },
}
SCSS
$custom: #d178cf;
$custom-light: #e1a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#d178cf",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 301.348,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69967,
    "c": 0.15595,
    "h": 327.9
  },
  "luminance": 0.31493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D178CF

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

Preview Lab → · Contrast checker → · Palette generator →

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