#D177F9#D177F9

#D177F9 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.199 H 314.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D177F9
RGBrgb(209, 119, 249)
HSLhsl(282, 92%, 72%)
HSVhsv(282, 52%, 98%)
CMYKcmyk(16.1%, 52.2%, 0%, 2.4%)
CIE-LABlab(64.64, 56.03, -51.04)
CIE-LCHlch(64.64, 75.79, 317.67°)
OKLaboklab(71.86% 0.1396 -0.1424)
OKLCHoklch(71.86% 0.199 314.4)
XYZxyz(49.9874, 33.5899, 93.4544)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D177F9 #9FF977
analogous
#9077F9 #D177F9 #F977E0
triadic
#D177F9 #F9D177 #77F9D1
tetradic
#D177F9 #F99077 #9FF977 #77E0F9
square
#D177F9 #F99077 #9FF977 #77E0F9
split-complementary
#D177F9 #E0F977 #77F990
monochromatic
#A60AEB #BD3CF6 #D177F9 #E5B2FC #F5E2FE

Accessibility & contrast

On white

2.72
#D177F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D177F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D177F9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D177F9#FFFFFF#000000##000000
##D177F91.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#759FF6
Tritanopia (blue-blind)
#CE8CAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d177f9;
/* rgb */ color: rgb(209, 119, 249);
/* oklch */ color: oklch(71.9% 0.199 314.4);
Tailwind
colors: {
  custom: {
    50: '#e2a1fc',
    500: '#d177f9',
    950: '#000000',
  },
}
SCSS
$custom: #d177f9;
$custom-light: #e2a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d177f9",
  "rgb": {
    "r": 209,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 281.538,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71861,
    "c": 0.19941,
    "h": 314.4
  },
  "luminance": 0.33589
}

Semantic roles & 50–950 ramp

primary
#D177F9
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D177F9

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

Preview Lab → · Contrast checker → · Palette generator →

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