#D176EA#D176EA

#D176EA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.186 H 318.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D176EA
RGBrgb(209, 118, 234)
HSLhsl(287, 73%, 69%)
HSVhsv(287, 50%, 92%)
CMYKcmyk(10.7%, 49.6%, 0%, 8.2%)
CIE-LABlab(63.72, 53.52, -44.21)
CIE-LCHlch(63.72, 69.42, 320.44°)
OKLaboklab(70.95% 0.1394 -0.1226)
OKLCHoklch(70.95% 0.186 318.7)
XYZxyz(47.6222, 32.4544, 81.5817)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D176EA #8FEA76
analogous
#9776EA #D176EA #EA76C9
triadic
#D176EA #EAD176 #76EAD1
tetradic
#D176EA #EA9776 #8FEA76 #76C9EA
square
#D176EA #EA9776 #8FEA76 #76C9EA
split-complementary
#D176EA #C9EA76 #76EA97
monochromatic
#A31FC7 #BF41E2 #D176EA #E3ABF2 #F5E0FA

Accessibility & contrast

On white

2.80
#D176EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D176EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D176EA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D176EA#FFFFFF#000000##000000
##D176EA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#D186A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d176ea;
/* rgb */ color: rgb(209, 118, 234);
/* oklch */ color: oklch(70.9% 0.186 318.7);
Tailwind
colors: {
  custom: {
    50: '#e1a0f1',
    500: '#d176ea',
    950: '#000000',
  },
}
SCSS
$custom: #d176ea;
$custom-light: #e1a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d176ea",
  "rgb": {
    "r": 209,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 287.069,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70945,
    "c": 0.18559,
    "h": 318.7
  },
  "luminance": 0.32453
}

Semantic roles & 50–950 ramp

primary
#D176EA
secondary
#D4EFCD
accent
#D6103B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D176EA

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

Preview Lab → · Contrast checker → · Palette generator →

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