#D176F7#D176F7

#D176F7 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.199 H 315.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D176F7
RGBrgb(209, 118, 247)
HSLhsl(282, 89%, 72%)
HSVhsv(282, 52%, 97%)
CMYKcmyk(15.4%, 52.2%, 0%, 3.1%)
CIE-LABlab(64.35, 56.12, -50.40)
CIE-LCHlch(64.35, 75.43, 318.07°)
OKLaboklab(71.61% 0.1407 -0.1405)
OKLCHoklch(71.61% 0.199 315)
XYZxyz(49.5588, 33.2290, 91.7809)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D176F7 #9CF776
analogous
#9176F7 #D176F7 #F776DC
triadic
#D176F7 #F7D176 #76F7D1
tetradic
#D176F7 #F79176 #9CF776 #76DCF7
square
#D176F7 #F79176 #9CF776 #76DCF7
split-complementary
#D176F7 #DCF776 #76F791
monochromatic
#A60DE5 #BE3CF4 #D176F7 #E4B0FA #F5E2FD

Accessibility & contrast

On white

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

On black

7.65
#D176F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D176F7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D176F7#FFFFFF#000000##000000
##D176F71.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#CE8AAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d176f7;
/* rgb */ color: rgb(209, 118, 247);
/* oklch */ color: oklch(71.6% 0.199 315.0);
Tailwind
colors: {
  custom: {
    50: '#e2a1fa',
    500: '#d176f7',
    950: '#000000',
  },
}
SCSS
$custom: #d176f7;
$custom-light: #e2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d176f7",
  "rgb": {
    "r": 209,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 282.326,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71615,
    "c": 0.19888,
    "h": 315
  },
  "luminance": 0.33228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D176F7

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

Preview Lab → · Contrast checker → · Palette generator →

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