#D176F2#D176F2

#D176F2 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.194 H 316.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D176F2
RGBrgb(209, 118, 242)
HSLhsl(284, 83%, 71%)
HSVhsv(284, 51%, 95%)
CMYKcmyk(13.6%, 51.2%, 0%, 5.1%)
CIE-LABlab(64.10, 55.11, -48.03)
CIE-LCHlch(64.10, 73.10, 318.92°)
OKLaboklab(71.35% 0.1403 -0.1337)
OKLCHoklch(71.35% 0.194 316.4)
XYZxyz(48.7976, 32.9245, 87.7718)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D176F2 #97F276
analogous
#9376F2 #D176F2 #F276D5
triadic
#D176F2 #F2D176 #76F2D1
tetradic
#D176F2 #F29376 #97F276 #76D5F2
square
#D176F2 #F29376 #97F276 #76D5F2
split-complementary
#D176F2 #D5F276 #76F293
monochromatic
#A515D9 #BE3EED #D176F2 #E4AEF7 #F6E3FC

Accessibility & contrast

On white

2.77
#D176F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D176F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D176F2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D176F2#FFFFFF#000000##000000
##D176F21.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#D089A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d176f2;
/* rgb */ color: rgb(209, 118, 242);
/* oklch */ color: oklch(71.4% 0.194 316.4);
Tailwind
colors: {
  custom: {
    50: '#e1a0f7',
    500: '#d176f2',
    950: '#000000',
  },
}
SCSS
$custom: #d176f2;
$custom-light: #e1a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d176f2",
  "rgb": {
    "r": 209,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 284.032,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71353,
    "c": 0.19374,
    "h": 316.4
  },
  "luminance": 0.32923
}

Semantic roles & 50–950 ramp

primary
#D176F2
secondary
#DAF3D1
accent
#DF0640
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D176F2

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

Preview Lab → · Contrast checker → · Palette generator →

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