#D177EA#D177EA

#D177EA is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.184 H 318.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D177EA
RGBrgb(209, 119, 234)
HSLhsl(287, 73%, 69%)
HSVhsv(287, 49%, 92%)
CMYKcmyk(10.7%, 49.1%, 0%, 8.2%)
CIE-LABlab(63.91, 53.01, -43.91)
CIE-LCHlch(63.91, 68.83, 320.37°)
OKLaboklab(71.09% 0.138 -0.1217)
OKLCHoklch(71.09% 0.184 318.6)
XYZxyz(47.7406, 32.6912, 81.6212)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D177EA #90EA77
analogous
#9877EA #D177EA #EA77C9
triadic
#D177EA #EAD177 #77EAD1
tetradic
#D177EA #EA9877 #90EA77 #77C9EA
square
#D177EA #EA9877 #90EA77 #77C9EA
split-complementary
#D177EA #C9EA77 #77EA98
monochromatic
#A31FC8 #BF42E2 #D177EA #E3ACF2 #F5E1FA

Accessibility & contrast

On white

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

On black

7.54
#D177EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D177EA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D177EA#FFFFFF#000000##000000
##D177EA1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#D187A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d177ea;
/* rgb */ color: rgb(209, 119, 234);
/* oklch */ color: oklch(71.1% 0.184 318.6);
Tailwind
colors: {
  custom: {
    50: '#e1a1f1',
    500: '#d177ea',
    950: '#000000',
  },
}
SCSS
$custom: #d177ea;
$custom-light: #e1a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d177ea",
  "rgb": {
    "r": 209,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 286.957,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71088,
    "c": 0.184,
    "h": 318.6
  },
  "luminance": 0.32689
}

Semantic roles & 50–950 ramp

primary
#D177EA
secondary
#D5EFCE
accent
#D5103B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D177EA

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

Preview Lab → · Contrast checker → · Palette generator →

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