#D176EF#D176EF

#D176EF is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.191 H 317.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D176EF
RGBrgb(209, 118, 239)
HSLhsl(285, 79%, 70%)
HSVhsv(285, 51%, 94%)
CMYKcmyk(12.6%, 50.6%, 0%, 6.3%)
CIE-LABlab(63.95, 54.51, -46.60)
CIE-LCHlch(63.95, 71.71, 319.47°)
OKLaboklab(71.2% 0.1399 -0.1295)
OKLCHoklch(71.2% 0.191 317.2)
XYZxyz(48.3507, 32.7458, 85.4182)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D176EF #94EF76
analogous
#9576EF #D176EF #EF76D0
triadic
#D176EF #EFD176 #76EFD1
tetradic
#D176EF #EF9576 #94EF76 #76D0EF
square
#D176EF #EF9576 #94EF76 #76D0EF
split-complementary
#D176EF #D0EF76 #76EF95
monochromatic
#A419D2 #BF3FE9 #D176EF #E3ADF5 #F6E4FC

Accessibility & contrast

On white

2.78
#D176EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D176EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D176EF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D176EF#FFFFFF#000000##000000
##D176EF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#D088A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d176ef;
/* rgb */ color: rgb(209, 118, 239);
/* oklch */ color: oklch(71.2% 0.191 317.2);
Tailwind
colors: {
  custom: {
    50: '#e1a0f5',
    500: '#d176ef',
    950: '#000000',
  },
}
SCSS
$custom: #d176ef;
$custom-light: #e1a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d176ef",
  "rgb": {
    "r": 209,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 285.124,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.71199,
    "c": 0.19067,
    "h": 317.2
  },
  "luminance": 0.32744
}

Semantic roles & 50–950 ramp

primary
#D176EF
secondary
#D8F1CF
accent
#DB0A3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D176EF

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

Preview Lab → · Contrast checker → · Palette generator →

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