#D177F2#D177F2

#D177F2 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.5% C 0.192 H 316.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D177F2
RGBrgb(209, 119, 242)
HSLhsl(284, 83%, 71%)
HSVhsv(284, 51%, 95%)
CMYKcmyk(13.6%, 50.8%, 0%, 5.1%)
CIE-LABlab(64.29, 54.61, -47.73)
CIE-LCHlch(64.29, 72.53, 318.84°)
OKLaboklab(71.5% 0.1389 -0.1328)
OKLCHoklch(71.5% 0.192 316.3)
XYZxyz(48.9159, 33.1613, 87.8112)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D177F2 #98F277
analogous
#9377F2 #D177F2 #F277D6
triadic
#D177F2 #F2D177 #77F2D1
tetradic
#D177F2 #F29377 #98F277 #77D6F2
square
#D177F2 #F29377 #98F277 #77D6F2
split-complementary
#D177F2 #D6F277 #77F293
monochromatic
#A515DA #BE3FED #D177F2 #E4AFF7 #F6E3FC

Accessibility & contrast

On white

2.75
#D177F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D177F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D177F2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D177F2#FFFFFF#000000##000000
##D177F21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#D08AAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d177f2;
/* rgb */ color: rgb(209, 119, 242);
/* oklch */ color: oklch(71.5% 0.192 316.3);
Tailwind
colors: {
  custom: {
    50: '#e1a1f7',
    500: '#d177f2',
    950: '#000000',
  },
}
SCSS
$custom: #d177f2;
$custom-light: #e1a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d177f2",
  "rgb": {
    "r": 209,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 283.902,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71495,
    "c": 0.19218,
    "h": 316.3
  },
  "luminance": 0.3316
}

Semantic roles & 50–950 ramp

primary
#D177F2
secondary
#DBF3D2
accent
#DF0741
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D177F2

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

Preview Lab → · Contrast checker → · Palette generator →

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