#D177F7#D177F7

#D177F7 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.8% C 0.197 H 314.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D177F7
RGBrgb(209, 119, 247)
HSLhsl(282, 89%, 72%)
HSVhsv(282, 52%, 97%)
CMYKcmyk(15.4%, 51.8%, 0%, 3.1%)
CIE-LABlab(64.54, 55.62, -50.10)
CIE-LCHlch(64.54, 74.85, 317.99°)
OKLaboklab(71.76% 0.1394 -0.1397)
OKLCHoklch(71.76% 0.197 314.9)
XYZxyz(49.6772, 33.4658, 91.8203)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D177F7 #9DF777
analogous
#9177F7 #D177F7 #F777DD
triadic
#D177F7 #F7D177 #77F7D1
tetradic
#D177F7 #F79177 #9DF777 #77DDF7
square
#D177F7 #F79177 #9DF777 #77DDF7
split-complementary
#D177F7 #DDF777 #77F791
monochromatic
#A60EE6 #BD3DF4 #D177F7 #E5B1FA #F5E2FD

Accessibility & contrast

On white

2.73
#D177F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D177F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D177F7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D177F7#FFFFFF#000000##000000
##D177F71.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#CE8BAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d177f7;
/* rgb */ color: rgb(209, 119, 247);
/* oklch */ color: oklch(71.8% 0.197 314.9);
Tailwind
colors: {
  custom: {
    50: '#e2a1fa',
    500: '#d177f7',
    950: '#000000',
  },
}
SCSS
$custom: #d177f7;
$custom-light: #e2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d177f7",
  "rgb": {
    "r": 209,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 282.188,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71755,
    "c": 0.19734,
    "h": 314.9
  },
  "luminance": 0.33464
}

Semantic roles & 50–950 ramp

primary
#D177F7
secondary
#DEF5D5
accent
#E60044
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D177F7

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

Preview Lab → · Contrast checker → · Palette generator →

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