#D97FF0#D97FF0

#D97FF0 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.181 H 319.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D97FF0
RGBrgb(217, 127, 240)
HSLhsl(288, 79%, 72%)
HSVhsv(288, 47%, 94%)
CMYKcmyk(9.6%, 47.1%, 0%, 5.9%)
CIE-LABlab(66.69, 52.33, -42.79)
CIE-LCHlch(66.69, 67.60, 320.73°)
OKLaboklab(73.45% 0.1372 -0.1184)
OKLCHoklch(73.45% 0.181 319.2)
XYZxyz(51.9308, 36.2236, 86.6775)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FF0 #96F07F
analogous
#A17FF0 #D97FF0 #F07FCE
triadic
#D97FF0 #F0D97F #7FF0D9
tetradic
#D97FF0 #F0A17F #96F07F #7FCEF0
square
#D97FF0 #F0A17F #96F07F #7FCEF0
split-complementary
#D97FF0 #CEF07F #7FF0A1
monochromatic
#B41ADB #C948EA #D97FF0 #E9B6F6 #F7E4FC

Accessibility & contrast

On white

2.55
#D97FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#D97FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FF0
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FF0#FFFFFF#000000##000000
##D97FF01.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#DA8EAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d97ff0;
/* rgb */ color: rgb(217, 127, 240);
/* oklch */ color: oklch(73.4% 0.181 319.2);
Tailwind
colors: {
  custom: {
    50: '#e7a7f5',
    500: '#d97ff0',
    950: '#000000',
  },
}
SCSS
$custom: #d97ff0;
$custom-light: #e7a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ff0",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 287.788,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73445,
    "c": 0.18118,
    "h": 319.2
  },
  "luminance": 0.36222
}

Semantic roles & 50–950 ramp

primary
#D97FF0
secondary
#DDF4D7
accent
#DB0A35
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D97FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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