#D176DC#D176DC

#D176DC is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.172 H 323.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D176DC
RGBrgb(209, 118, 220)
HSLhsl(294, 59%, 66%)
HSVhsv(294, 46%, 86%)
CMYKcmyk(5%, 46.4%, 0%, 13.7%)
CIE-LABlab(63.08, 50.82, -37.42)
CIE-LCHlch(63.08, 63.11, 323.64°)
OKLaboklab(70.26% 0.1374 -0.103)
OKLCHoklch(70.26% 0.172 323.1)
XYZxyz(45.6899, 31.6815, 71.4047)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D176DC #81DC76
analogous
#9E76DC #D176DC #DC76B4
triadic
#D176DC #DCD176 #76DCD1
tetradic
#D176DC #DC9E76 #81DC76 #76B4DC
square
#D176DC #DC9E76 #81DC76 #76B4DC
split-complementary
#D176DC #B4DC76 #76DC9E
monochromatic
#9E2CAC #C145D0 #D176DC #E1A7E8 #F2D7F5

Accessibility & contrast

On white

2.86
#D176DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D176DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D176DC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D176DC#FFFFFF#000000##000000
##D176DC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E0
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#D4829F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d176dc;
/* rgb */ color: rgb(209, 118, 220);
/* oklch */ color: oklch(70.3% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#e1a0e7',
    500: '#d176dc',
    950: '#000000',
  },
}
SCSS
$custom: #d176dc;
$custom-light: #e1a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d176dc",
  "rgb": {
    "r": 209,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 293.529,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.17169,
    "h": 323.1
  },
  "luminance": 0.31679
}

Semantic roles & 50–950 ramp

primary
#D176DC
secondary
#CAE8C6
accent
#C71F31
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D176DC

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

Preview Lab → · Contrast checker → · Palette generator →

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