#D97AF4#D97AF4

#D97AF4 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.9% C 0.193 H 318.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D97AF4
RGBrgb(217, 122, 244)
HSLhsl(287, 85%, 72%)
HSVhsv(287, 50%, 96%)
CMYKcmyk(11.1%, 50%, 0%, 4.3%)
CIE-LABlab(65.91, 55.63, -46.22)
CIE-LCHlch(65.91, 72.33, 320.28°)
OKLaboklab(72.93% 0.1445 -0.1282)
OKLCHoklch(72.93% 0.193 318.4)
XYZxyz(51.9017, 35.2043, 89.6315)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97AF4 #95F47A
analogous
#9C7AF4 #D97AF4 #F47AD2
triadic
#D97AF4 #F4D97A #7AF4D9
tetradic
#D97AF4 #F49C7A #95F47A #7AD2F4
square
#D97AF4 #F49C7A #95F47A #7AD2F4
split-complementary
#D97AF4 #D2F47A #7AF49C
monochromatic
#B313E1 #C941EF #D97AF4 #E9B3F9 #F7E3FD

Accessibility & contrast

On white

2.61
#D97AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D97AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97AF4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97AF4#FFFFFF#000000##000000
##D97AF41.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#80A3F1
Tritanopia (blue-blind)
#D98CAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97af4;
/* rgb */ color: rgb(217, 122, 244);
/* oklch */ color: oklch(72.9% 0.193 318.4);
Tailwind
colors: {
  custom: {
    50: '#e7a3f8',
    500: '#d97af4',
    950: '#000000',
  },
}
SCSS
$custom: #d97af4;
$custom-light: #e7a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d97af4",
  "rgb": {
    "r": 217,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 286.721,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72925,
    "c": 0.19316,
    "h": 318.4
  },
  "luminance": 0.35202
}

Semantic roles & 50–950 ramp

primary
#D97AF4
secondary
#DCF4D5
accent
#E10435
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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