#D97FFA#D97FFA

#D97FFA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.191 H 316.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D97FFA
RGBrgb(217, 127, 250)
HSLhsl(284, 92%, 74%)
HSVhsv(284, 49%, 98%)
CMYKcmyk(13.2%, 49.2%, 0%, 2%)
CIE-LABlab(67.15, 54.31, -47.55)
CIE-LCHlch(67.15, 72.19, 318.79°)
OKLaboklab(73.94% 0.1385 -0.1321)
OKLCHoklch(73.94% 0.191 316.3)
XYZxyz(53.4574, 36.8342, 94.7177)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FFA #A0FA7F
analogous
#9C7FFA #D97FFA #FA7FDE
triadic
#D97FFA #FAD97F #7FFAD9
tetradic
#D97FFA #FA9C7F #A0FA7F #7FDEFA
square
#D97FFA #FA9C7F #A0FA7F #7FDEFA
split-complementary
#D97FFA #DEFA7F #7FFA9C
monochromatic
#B60AF5 #C844F8 #D97FFA #EABAFC #F6E2FE

Accessibility & contrast

On white

2.51
#D97FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D97FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FFA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FFA#FFFFFF#000000##000000
##D97FFA1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#D891B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d97ffa;
/* rgb */ color: rgb(217, 127, 250);
/* oklch */ color: oklch(73.9% 0.191 316.3);
Tailwind
colors: {
  custom: {
    50: '#e7a7fc',
    500: '#d97ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d97ffa;
$custom-light: #e7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ffa",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 283.902,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73939,
    "c": 0.19142,
    "h": 316.3
  },
  "luminance": 0.36833
}

Semantic roles & 50–950 ramp

primary
#D97FFA
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D97FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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