#D176EC#D176EC

#D176EC is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.188 H 318.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D176EC
RGBrgb(209, 118, 236)
HSLhsl(286, 76%, 69%)
HSVhsv(286, 50%, 93%)
CMYKcmyk(11.4%, 50%, 0%, 7.5%)
CIE-LABlab(63.81, 53.91, -45.17)
CIE-LCHlch(63.81, 70.33, 320.04°)
OKLaboklab(71.05% 0.1396 -0.1254)
OKLCHoklch(71.05% 0.188 318.1)
XYZxyz(47.9112, 32.5700, 83.1035)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D176EC #91EC76
analogous
#9676EC #D176EC #EC76CC
triadic
#D176EC #ECD176 #76ECD1
tetradic
#D176EC #EC9676 #91EC76 #76CCEC
square
#D176EC #EC9676 #91EC76 #76CCEC
split-complementary
#D176EC #CCEC76 #76EC96
monochromatic
#A31CCB #BF40E5 #D176EC #E3ACF3 #F5E1FB

Accessibility & contrast

On white

2.79
#D176EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D176EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D176EC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D176EC#FFFFFF#000000##000000
##D176EC1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#D187A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d176ec;
/* rgb */ color: rgb(209, 118, 236);
/* oklch */ color: oklch(71.0% 0.188 318.1);
Tailwind
colors: {
  custom: {
    50: '#e1a0f2',
    500: '#d176ec',
    950: '#000000',
  },
}
SCSS
$custom: #d176ec;
$custom-light: #e1a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d176ec",
  "rgb": {
    "r": 209,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 286.271,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71046,
    "c": 0.18762,
    "h": 318.1
  },
  "luminance": 0.32568
}

Semantic roles & 50–950 ramp

primary
#D176EC
secondary
#D6F0CE
accent
#D80E3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D176EC

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

Preview Lab → · Contrast checker → · Palette generator →

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