#D173FF#D173FF

#D173FF is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.6% C 0.212 H 313.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D173FF
RGBrgb(209, 115, 255)
HSLhsl(280, 100%, 73%)
HSVhsv(280, 55%, 100%)
CMYKcmyk(18%, 54.9%, 0%, 0%)
CIE-LABlab(64.19, 59.24, -55.04)
CIE-LCHlch(64.19, 80.86, 317.10°)
OKLaboklab(71.63% 0.1451 -0.154)
OKLCHoklch(71.63% 0.212 313.3)
XYZxyz(50.4722, 33.0381, 98.3066)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173FF #A1FF73
analogous
#8B73FF #D173FF #FF73E7
triadic
#D173FF #FFD173 #73FFD1
tetradic
#D173FF #FF8B73 #A1FF73 #73E7FF
square
#D173FF #FF8B73 #A1FF73 #73E7FF
split-complementary
#D173FF #E7FF73 #73FF8B
monochromatic
#A600F8 #BD36FF #D173FF #E5B0FF #F5E0FF

Accessibility & contrast

On white

2.76
#D173FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D173FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173FF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173FF#FFFFFF#000000##000000
##D173FF1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#CD8BAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d173ff;
/* rgb */ color: rgb(209, 115, 255);
/* oklch */ color: oklch(71.6% 0.212 313.3);
Tailwind
colors: {
  custom: {
    50: '#e29fff',
    500: '#d173ff',
    950: '#000000',
  },
}
SCSS
$custom: #d173ff;
$custom-light: #e29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d173ff",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 280.286,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71634,
    "c": 0.21163,
    "h": 313.3
  },
  "luminance": 0.33037
}

Semantic roles & 50–950 ramp

primary
#D173FF
secondary
#DFF7D4
accent
#E6004B
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D173FF

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

Preview Lab → · Contrast checker → · Palette generator →

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