#D177FB#D177FB

#D177FB is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.0% C 0.201 H 313.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D177FB
RGBrgb(209, 119, 251)
HSLhsl(281, 94%, 73%)
HSVhsv(281, 53%, 98%)
CMYKcmyk(16.7%, 52.6%, 0%, 1.6%)
CIE-LABlab(64.74, 56.44, -51.98)
CIE-LCHlch(64.74, 76.73, 317.35°)
OKLaboklab(71.97% 0.1398 -0.1451)
OKLCHoklch(71.97% 0.201 313.9)
XYZxyz(50.3010, 33.7154, 95.1060)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D177FB #A1FB77
analogous
#8F77FB #D177FB #FB77E3
triadic
#D177FB #FBD177 #77FBD1
tetradic
#D177FB #FB8F77 #A1FB77 #77E3FB
square
#D177FB #FB8F77 #A1FB77 #77E3FB
split-complementary
#D177FB #E3FB77 #77FB8F
monochromatic
#A607F1 #BD3CF9 #D177FB #E5B2FD #F5E1FE

Accessibility & contrast

On white

2.71
#D177FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D177FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D177FB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D177FB#FFFFFF#000000##000000
##D177FB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#749FF8
Tritanopia (blue-blind)
#CE8CAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d177fb;
/* rgb */ color: rgb(209, 119, 251);
/* oklch */ color: oklch(72.0% 0.201 313.9);
Tailwind
colors: {
  custom: {
    50: '#e2a1fd',
    500: '#d177fb',
    950: '#000000',
  },
}
SCSS
$custom: #d177fb;
$custom-light: #e2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d177fb",
  "rgb": {
    "r": 209,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 280.909,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71967,
    "c": 0.20148,
    "h": 313.9
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

primary
#D177FB
secondary
#DFF6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D177FB

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

Preview Lab → · Contrast checker → · Palette generator →

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