#D173FE#D173FE

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

Color values

HEX#D173FE
RGBrgb(209, 115, 254)
HSLhsl(281, 99%, 72%)
HSVhsv(281, 55%, 100%)
CMYKcmyk(17.7%, 54.7%, 0%, 0.4%)
CIE-LABlab(64.14, 59.03, -54.57)
CIE-LCHlch(64.14, 80.40, 317.25°)
OKLaboklab(71.58% 0.1451 -0.1527)
OKLCHoklch(71.58% 0.211 313.5)
XYZxyz(50.3116, 32.9739, 97.4610)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173FE #A0FE73
analogous
#8C73FE #D173FE #FE73E5
triadic
#D173FE #FED173 #73FED1
tetradic
#D173FE #FE8C73 #A0FE73 #73E5FE
square
#D173FE #FE8C73 #A0FE73 #73E5FE
split-complementary
#D173FE #E5FE73 #73FE8C
monochromatic
#A602F5 #BD36FE #D173FE #E5B0FE #F5E1FF

Accessibility & contrast

On white

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

On black

7.59
#D173FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173FE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173FE#FFFFFF#000000##000000
##D173FE1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#CD8AAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d173fe;
/* rgb */ color: rgb(209, 115, 254);
/* oklch */ color: oklch(71.6% 0.211 313.5);
Tailwind
colors: {
  custom: {
    50: '#e29fff',
    500: '#d173fe',
    950: '#000000',
  },
}
SCSS
$custom: #d173fe;
$custom-light: #e29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d173fe",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 280.576,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71579,
    "c": 0.2106,
    "h": 313.5
  },
  "luminance": 0.32973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D173FE

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

Preview Lab → · Contrast checker → · Palette generator →

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