#D173FD#D173FD

#D173FD is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.5% C 0.210 H 313.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D173FD
RGBrgb(209, 115, 253)
HSLhsl(281, 97%, 72%)
HSVhsv(281, 55%, 99%)
CMYKcmyk(17.4%, 54.5%, 0%, 0.8%)
CIE-LABlab(64.09, 58.83, -54.11)
CIE-LCHlch(64.09, 79.93, 317.39°)
OKLaboklab(71.52% 0.145 -0.1513)
OKLCHoklch(71.52% 0.21 313.8)
XYZxyz(50.1519, 32.9100, 96.6198)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173FD #9FFD73
analogous
#8C73FD #D173FD #FD73E4
triadic
#D173FD #FDD173 #73FDD1
tetradic
#D173FD #FD8C73 #9FFD73 #73E4FD
square
#D173FD #FD8C73 #9FFD73 #73E4FD
split-complementary
#D173FD #E4FD73 #73FD8C
monochromatic
#A603F2 #BD37FC #D173FD #E5AFFE #F5E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D173FD#FFFFFF#000000##000000
##D173FD1.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)
#4E96FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#CD8AAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d173fd;
/* rgb */ color: rgb(209, 115, 253);
/* oklch */ color: oklch(71.5% 0.210 313.8);
Tailwind
colors: {
  custom: {
    50: '#e29fff',
    500: '#d173fd',
    950: '#000000',
  },
}
SCSS
$custom: #d173fd;
$custom-light: #e29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d173fd",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 280.87,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.20958,
    "h": 313.8
  },
  "luminance": 0.32909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D173FD

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

Preview Lab → · Contrast checker → · Palette generator →

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