#D173FC#D173FC

#D173FC is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.5% C 0.209 H 314.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D173FC
RGBrgb(209, 115, 252)
HSLhsl(281, 96%, 72%)
HSVhsv(281, 54%, 99%)
CMYKcmyk(17.1%, 54.4%, 0%, 1.2%)
CIE-LABlab(64.04, 58.62, -53.64)
CIE-LCHlch(64.04, 79.46, 317.54°)
OKLaboklab(71.47% 0.1449 -0.1499)
OKLCHoklch(71.47% 0.209 314)
XYZxyz(49.9930, 32.8464, 95.7831)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173FC #9EFC73
analogous
#8D73FC #D173FC #FC73E2
triadic
#D173FC #FCD173 #73FCD1
tetradic
#D173FC #FC8D73 #9EFC73 #73E2FC
square
#D173FC #FC8D73 #9EFC73 #73E2FC
split-complementary
#D173FC #E2FC73 #73FC8D
monochromatic
#A605EF #BD37FB #D173FC #E5AFFD #F5E1FE

Accessibility & contrast

On white

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

On black

7.57
#D173FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173FC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173FC#FFFFFF#000000##000000
##D173FC1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6F9EF8
Tritanopia (blue-blind)
#CD8AAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d173fc;
/* rgb */ color: rgb(209, 115, 252);
/* oklch */ color: oklch(71.5% 0.209 314.0);
Tailwind
colors: {
  custom: {
    50: '#e29ffe',
    500: '#d173fc',
    950: '#000000',
  },
}
SCSS
$custom: #d173fc;
$custom-light: #e29ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#d173fc",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 281.168,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71469,
    "c": 0.20855,
    "h": 314
  },
  "luminance": 0.32845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D173FC

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

Preview Lab → · Contrast checker → · Palette generator →

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