#D173F9#D173F9

#D173F9 is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.3% C 0.205 H 314.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D173F9
RGBrgb(209, 115, 249)
HSLhsl(282, 92%, 71%)
HSVhsv(282, 54%, 98%)
CMYKcmyk(16.1%, 53.8%, 0%, 2.4%)
CIE-LABlab(63.88, 58.01, -52.23)
CIE-LCHlch(63.88, 78.06, 318.00°)
OKLaboklab(71.31% 0.1447 -0.1459)
OKLCHoklch(71.31% 0.205 314.8)
XYZxyz(49.5214, 32.6578, 93.2991)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173F9 #9BF973
analogous
#8E73F9 #D173F9 #F973DE
triadic
#D173F9 #F9D173 #73F9D1
tetradic
#D173F9 #F98E73 #9BF973 #73DEF9
square
#D173F9 #F98E73 #9BF973 #73DEF9
split-complementary
#D173F9 #DEF973 #73F98E
monochromatic
#A50AE8 #BE38F6 #D173F9 #E4AEFC #F5E2FE

Accessibility & contrast

On white

2.79
#D173F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D173F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173F9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173F9#FFFFFF#000000##000000
##D173F91.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#CE89AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d173f9;
/* rgb */ color: rgb(209, 115, 249);
/* oklch */ color: oklch(71.3% 0.205 314.8);
Tailwind
colors: {
  custom: {
    50: '#e29ffc',
    500: '#d173f9',
    950: '#000000',
  },
}
SCSS
$custom: #d173f9;
$custom-light: #e29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#d173f9",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 282.09,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71307,
    "c": 0.20549,
    "h": 314.8
  },
  "luminance": 0.32656
}

Semantic roles & 50–950 ramp

primary
#D173F9
secondary
#DDF5D2
accent
#E60045
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D173F9

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

Preview Lab → · Contrast checker → · Palette generator →

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