#D97FF3#D97FF3

#D97FF3 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.184 H 318.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D97FF3
RGBrgb(217, 127, 243)
HSLhsl(287, 83%, 73%)
HSVhsv(287, 48%, 95%)
CMYKcmyk(10.7%, 47.7%, 0%, 4.7%)
CIE-LABlab(66.83, 52.92, -44.23)
CIE-LCHlch(66.83, 68.97, 320.11°)
OKLaboklab(73.59% 0.1376 -0.1225)
OKLCHoklch(73.59% 0.184 318.3)
XYZxyz(52.3801, 36.4033, 89.0440)
Luminance0.3640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FF3 #99F37F
analogous
#9F7FF3 #D97FF3 #F37FD3
triadic
#D97FF3 #F3D97F #7FF3D9
tetradic
#D97FF3 #F39F7F #99F37F #7FD3F3
square
#D97FF3 #F39F7F #99F37F #7FD3F3
split-complementary
#D97FF3 #D3F37F #7FF39F
monochromatic
#B415E2 #C847EE #D97FF3 #EAB7F8 #F7E3FC

Accessibility & contrast

On white

2.54
#D97FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D97FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FF3
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FF3#FFFFFF#000000##000000
##D97FF31.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#D98FAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d97ff3;
/* rgb */ color: rgb(217, 127, 243);
/* oklch */ color: oklch(73.6% 0.184 318.3);
Tailwind
colors: {
  custom: {
    50: '#e7a7f7',
    500: '#d97ff3',
    950: '#000000',
  },
}
SCSS
$custom: #d97ff3;
$custom-light: #e7a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ff3",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 286.552,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73591,
    "c": 0.18423,
    "h": 318.3
  },
  "luminance": 0.36402
}

Semantic roles & 50–950 ramp

primary
#D97FF3
secondary
#DDF4D7
accent
#DF0637
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D97FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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