#D176F8#D176F8

#D176F8 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.7% C 0.200 H 314.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D176F8
RGBrgb(209, 118, 248)
HSLhsl(282, 90%, 72%)
HSVhsv(282, 52%, 97%)
CMYKcmyk(15.7%, 52.4%, 0%, 2.7%)
CIE-LABlab(64.40, 56.32, -50.87)
CIE-LCHlch(64.40, 75.89, 317.91°)
OKLaboklab(71.67% 0.1408 -0.1419)
OKLCHoklch(71.67% 0.2 314.8)
XYZxyz(49.7135, 33.2909, 92.5957)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D176F8 #9DF876
analogous
#9076F8 #D176F8 #F876DE
triadic
#D176F8 #F8D176 #76F8D1
tetradic
#D176F8 #F89076 #9DF876 #76DEF8
square
#D176F8 #F89076 #9DF876 #76DEF8
split-complementary
#D176F8 #DEF876 #76F890
monochromatic
#A60CE8 #BD3CF5 #D176F8 #E5B0FB #F5E2FE

Accessibility & contrast

On white

2.74
#D176F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D176F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D176F8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D176F8#FFFFFF#000000##000000
##D176F81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#749FF5
Tritanopia (blue-blind)
#CE8BAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d176f8;
/* rgb */ color: rgb(209, 118, 248);
/* oklch */ color: oklch(71.7% 0.200 314.8);
Tailwind
colors: {
  custom: {
    50: '#e2a1fb',
    500: '#d176f8',
    950: '#000000',
  },
}
SCSS
$custom: #d176f8;
$custom-light: #e2a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d176f8",
  "rgb": {
    "r": 209,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 282,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.19991,
    "h": 314.8
  },
  "luminance": 0.33289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D176F8

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

Preview Lab → · Contrast checker → · Palette generator →

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