#D973ED#D973ED

#D973ED is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.197 H 320.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D973ED
RGBrgb(217, 115, 237)
HSLhsl(290, 77%, 69%)
HSVhsv(290, 51%, 93%)
CMYKcmyk(8.4%, 51.5%, 0%, 7.1%)
CIE-LABlab(64.27, 57.74, -44.94)
CIE-LCHlch(64.27, 73.17, 322.10°)
OKLaboklab(71.61% 0.1529 -0.1245)
OKLCHoklch(71.61% 0.197 320.9)
XYZxyz(50.0303, 33.1297, 83.8637)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D973ED #87ED73
analogous
#9C73ED #D973ED #ED73C4
triadic
#D973ED #EDD973 #73EDD9
tetradic
#D973ED #ED9C73 #87ED73 #73C4ED
square
#D973ED #ED9C73 #87ED73 #73C4ED
split-complementary
#D973ED #C4ED73 #73ED9C
monochromatic
#AE1ACB #CA3DE6 #D973ED #E8A9F4 #F6DFFB

Accessibility & contrast

On white

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

On black

7.63
#D973ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D973ED
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D973ED#FFFFFF#000000##000000
##D973ED1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#DB84A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d973ed;
/* rgb */ color: rgb(217, 115, 237);
/* oklch */ color: oklch(71.6% 0.197 320.9);
Tailwind
colors: {
  custom: {
    50: '#e79ff3',
    500: '#d973ed',
    950: '#000000',
  },
}
SCSS
$custom: #d973ed;
$custom-light: #e79ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d973ed",
  "rgb": {
    "r": 217,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 290.164,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71606,
    "c": 0.19721,
    "h": 320.9
  },
  "luminance": 0.33128
}

Semantic roles & 50–950 ramp

primary
#D973ED
secondary
#D2F0CC
accent
#D90C2E
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D973ED

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

Preview Lab → · Contrast checker → · Palette generator →

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