#D173F7#D173F7

#D173F7 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.2% C 0.203 H 315.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D173F7
RGBrgb(209, 115, 247)
HSLhsl(283, 89%, 71%)
HSVhsv(283, 53%, 97%)
CMYKcmyk(15.4%, 53.4%, 0%, 3.1%)
CIE-LABlab(63.78, 57.61, -51.29)
CIE-LCHlch(63.78, 77.13, 318.32°)
OKLaboklab(71.2% 0.1446 -0.1431)
OKLCHoklch(71.2% 0.203 315.3)
XYZxyz(49.2111, 32.5337, 91.6650)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173F7 #99F773
analogous
#8F73F7 #D173F7 #F773DB
triadic
#D173F7 #F7D173 #73F7D1
tetradic
#D173F7 #F78F73 #99F773 #73DBF7
square
#D173F7 #F78F73 #99F773 #73DBF7
split-complementary
#D173F7 #DBF773 #73F78F
monochromatic
#A50DE3 #BE39F4 #D173F7 #E4ADFA #F5E2FD

Accessibility & contrast

On white

2.80
#D173F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D173F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173F7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173F7#FFFFFF#000000##000000
##D173F71.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#CF88AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d173f7;
/* rgb */ color: rgb(209, 115, 247);
/* oklch */ color: oklch(71.2% 0.203 315.3);
Tailwind
colors: {
  custom: {
    50: '#e29ffa',
    500: '#d173f7',
    950: '#000000',
  },
}
SCSS
$custom: #d173f7;
$custom-light: #e29ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#d173f7",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 282.727,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71199,
    "c": 0.20345,
    "h": 315.3
  },
  "luminance": 0.32532
}

Semantic roles & 50–950 ramp

primary
#D173F7
secondary
#DBF4D1
accent
#E60042
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D173F7

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

Preview Lab → · Contrast checker → · Palette generator →

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