#D97BFD#D97BFD

#D97BFD is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.5% C 0.201 H 315.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#D97BFD
RGBrgb(217, 123, 253)
HSLhsl(283, 97%, 74%)
HSVhsv(283, 51%, 99%)
CMYKcmyk(14.2%, 51.4%, 0%, 0.8%)
CIE-LABlab(66.53, 56.92, -50.18)
CIE-LCHlch(66.53, 75.88, 318.60°)
OKLaboklab(73.52% 0.1441 -0.1397)
OKLCHoklch(73.52% 0.201 315.9)
XYZxyz(53.4252, 36.0111, 97.0460)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BFD #9FFD7B
analogous
#987BFD #D97BFD #FD7BE0
triadic
#D97BFD #FDD97B #7BFDD9
tetradic
#D97BFD #FD987B #9FFD7B #7BE0FD
square
#D97BFD #FD987B #9FFD7B #7BE0FD
split-complementary
#D97BFD #E0FD7B #7BFD98
monochromatic
#B604FA #C83FFC #D97BFD #EAB7FE #F6E1FF

Accessibility & contrast

On white

2.56
#D97BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#D97BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BFD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BFD#FFFFFF#000000##000000
##D97BFD1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#D78FB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d97bfd;
/* rgb */ color: rgb(217, 123, 253);
/* oklch */ color: oklch(73.5% 0.201 315.9);
Tailwind
colors: {
  custom: {
    50: '#e7a4fe',
    500: '#d97bfd',
    950: '#000000',
  },
}
SCSS
$custom: #d97bfd;
$custom-light: #e7a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bfd",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 283.385,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73524,
    "c": 0.20072,
    "h": 315.9
  },
  "luminance": 0.36009
}

Semantic roles & 50–950 ramp

primary
#D97BFD
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D97BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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