#D973EF#D973EF

#D973EF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.7% C 0.199 H 320.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D973EF
RGBrgb(217, 115, 239)
HSLhsl(289, 79%, 69%)
HSVhsv(289, 52%, 94%)
CMYKcmyk(9.2%, 51.9%, 0%, 6.3%)
CIE-LABlab(64.36, 58.12, -45.90)
CIE-LCHlch(64.36, 74.05, 321.70°)
OKLaboklab(71.71% 0.1532 -0.1273)
OKLCHoklch(71.71% 0.199 320.3)
XYZxyz(50.3241, 33.2473, 85.4111)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D973EF #89EF73
analogous
#9B73EF #D973EF #EF73C7
triadic
#D973EF #EFD973 #73EFD9
tetradic
#D973EF #EF9B73 #89EF73 #73C7EF
square
#D973EF #EF9B73 #89EF73 #73C7EF
split-complementary
#D973EF #C7EF73 #73EF9B
monochromatic
#AF18D0 #CA3CE9 #D973EF #E8AAF5 #F7E1FC

Accessibility & contrast

On white

2.75
#D973EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#D973EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D973EF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D973EF#FFFFFF#000000##000000
##D973EF1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#DA84A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d973ef;
/* rgb */ color: rgb(217, 115, 239);
/* oklch */ color: oklch(71.7% 0.199 320.3);
Tailwind
colors: {
  custom: {
    50: '#e79ff5',
    500: '#d973ef',
    950: '#000000',
  },
}
SCSS
$custom: #d973ef;
$custom-light: #e79ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d973ef",
  "rgb": {
    "r": 217,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 289.355,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71706,
    "c": 0.19914,
    "h": 320.3
  },
  "luminance": 0.33245
}

Semantic roles & 50–950 ramp

primary
#D973EF
secondary
#D3F1CD
accent
#DC0A2F
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D973EF

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

Preview Lab → · Contrast checker → · Palette generator →

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