#D177EF#D177EF

#D177EF is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.189 H 317.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D177EF
RGBrgb(209, 119, 239)
HSLhsl(285, 79%, 70%)
HSVhsv(285, 50%, 94%)
CMYKcmyk(12.6%, 50.2%, 0%, 6.3%)
CIE-LABlab(64.15, 54.00, -46.30)
CIE-LCHlch(64.15, 71.14, 319.39°)
OKLaboklab(71.34% 0.1386 -0.1286)
OKLCHoklch(71.34% 0.189 317.1)
XYZxyz(48.4691, 32.9826, 85.4577)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D177EF #95EF77
analogous
#9577EF #D177EF #EF77D1
triadic
#D177EF #EFD177 #77EFD1
tetradic
#D177EF #EF9577 #95EF77 #77D1EF
square
#D177EF #EF9577 #95EF77 #77D1EF
split-complementary
#D177EF #D1EF77 #77EF95
monochromatic
#A419D3 #BE40E9 #D177EF #E4AEF5 #F6E4FC

Accessibility & contrast

On white

2.76
#D177EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D177EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D177EF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D177EF#FFFFFF#000000##000000
##D177EF1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d177ef;
/* rgb */ color: rgb(209, 119, 239);
/* oklch */ color: oklch(71.3% 0.189 317.1);
Tailwind
colors: {
  custom: {
    50: '#e1a1f5',
    500: '#d177ef',
    950: '#000000',
  },
}
SCSS
$custom: #d177ef;
$custom-light: #e1a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d177ef",
  "rgb": {
    "r": 209,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71341,
    "c": 0.1891,
    "h": 317.1
  },
  "luminance": 0.32981
}

Semantic roles & 50–950 ramp

primary
#D177EF
secondary
#D9F2D0
accent
#DB0A3F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D177EF

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

Preview Lab → · Contrast checker → · Palette generator →

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