#D177DC#D177DC

#D177DC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.4% C 0.170 H 323.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D177DC
RGBrgb(209, 119, 220)
HSLhsl(293, 59%, 66%)
HSVhsv(293, 46%, 86%)
CMYKcmyk(5%, 45.9%, 0%, 13.7%)
CIE-LABlab(63.28, 50.31, -37.11)
CIE-LCHlch(63.28, 62.52, 323.59°)
OKLaboklab(70.41% 0.1359 -0.1021)
OKLCHoklch(70.41% 0.17 323.1)
XYZxyz(45.8083, 31.9182, 71.4442)
Luminance0.3192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D177DC #82DC77
analogous
#9F77DC #D177DC #DC77B5
triadic
#D177DC #DCD177 #77DCD1
tetradic
#D177DC #DC9F77 #82DC77 #77B5DC
square
#D177DC #DC9F77 #82DC77 #77B5DC
split-complementary
#D177DC #B5DC77 #77DC9F
monochromatic
#9E2CAC #C146CF #D177DC #E1A8E9 #F2D8F5

Accessibility & contrast

On white

2.84
#D177DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D177DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D177DC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D177DC#FFFFFF#000000##000000
##D177DC1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#D4839F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d177dc;
/* rgb */ color: rgb(209, 119, 220);
/* oklch */ color: oklch(70.4% 0.170 323.1);
Tailwind
colors: {
  custom: {
    50: '#e1a1e7',
    500: '#d177dc',
    950: '#000000',
  },
}
SCSS
$custom: #d177dc;
$custom-light: #e1a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d177dc",
  "rgb": {
    "r": 209,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 293.465,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7041,
    "c": 0.17004,
    "h": 323.1
  },
  "luminance": 0.31916
}

Semantic roles & 50–950 ramp

primary
#D177DC
secondary
#CBE8C7
accent
#C71F31
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D177DC

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

Preview Lab → · Contrast checker → · Palette generator →

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