#D173EE#D173EE

#D173EE is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.194 H 317.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D173EE
RGBrgb(209, 115, 238)
HSLhsl(286, 78%, 69%)
HSVhsv(286, 52%, 93%)
CMYKcmyk(12.2%, 51.7%, 0%, 6.7%)
CIE-LABlab(63.34, 55.81, -47.03)
CIE-LCHlch(63.34, 72.98, 319.88°)
OKLaboklab(70.73% 0.1438 -0.1307)
OKLCHoklch(70.73% 0.194 317.7)
XYZxyz(47.8557, 31.9915, 84.5265)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173EE #90EE73
analogous
#9473EE #D173EE #EE73CD
triadic
#D173EE #EED173 #73EED1
tetradic
#D173EE #EE9473 #90EE73 #73CDEE
square
#D173EE #EE9473 #90EE73 #73CDEE
split-complementary
#D173EE #CDEE73 #73EE94
monochromatic
#A319CE #BF3CE7 #D173EE #E3AAF5 #F5E0FB

Accessibility & contrast

On white

2.84
#D173EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D173EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173EE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173EE#FFFFFF#000000##000000
##D173EE1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F2
Deuteranopia (green-blind)
#789CEB
Tritanopia (blue-blind)
#D185A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d173ee;
/* rgb */ color: rgb(209, 115, 238);
/* oklch */ color: oklch(70.7% 0.194 317.7);
Tailwind
colors: {
  custom: {
    50: '#e19ff4',
    500: '#d173ee',
    950: '#000000',
  },
}
SCSS
$custom: #d173ee;
$custom-light: #e19ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d173ee",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 285.854,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70726,
    "c": 0.19434,
    "h": 317.7
  },
  "luminance": 0.3199
}

Semantic roles & 50–950 ramp

primary
#D173EE
secondary
#D5F0CD
accent
#DB0B3C
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D173EE

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

Preview Lab → · Contrast checker → · Palette generator →

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