#D97BF4#D97BF4

#D97BF4 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.192 H 318.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D97BF4
RGBrgb(217, 123, 244)
HSLhsl(287, 85%, 72%)
HSVhsv(287, 50%, 96%)
CMYKcmyk(11.1%, 49.6%, 0%, 4.3%)
CIE-LABlab(66.10, 55.13, -45.92)
CIE-LCHlch(66.10, 71.75, 320.21°)
OKLaboklab(73.07% 0.1431 -0.1274)
OKLCHoklch(73.07% 0.192 318.3)
XYZxyz(52.0252, 35.4511, 89.6727)
Luminance0.3545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BF4 #96F47B
analogous
#9D7BF4 #D97BF4 #F47BD2
triadic
#D97BF4 #F4D97B #7BF4D9
tetradic
#D97BF4 #F49D7B #96F47B #7BD2F4
square
#D97BF4 #F49D7B #96F47B #7BD2F4
split-complementary
#D97BF4 #D2F47B #7BF49D
monochromatic
#B413E2 #C943EF #D97BF4 #E9B3F9 #F7E3FD

Accessibility & contrast

On white

2.60
#D97BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D97BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BF4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BF4#FFFFFF#000000##000000
##D97BF41.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF8
Deuteranopia (green-blind)
#81A4F1
Tritanopia (blue-blind)
#D98CAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d97bf4;
/* rgb */ color: rgb(217, 123, 244);
/* oklch */ color: oklch(73.1% 0.192 318.3);
Tailwind
colors: {
  custom: {
    50: '#e7a4f8',
    500: '#d97bf4',
    950: '#000000',
  },
}
SCSS
$custom: #d97bf4;
$custom-light: #e7a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bf4",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 286.612,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73066,
    "c": 0.1916,
    "h": 318.3
  },
  "luminance": 0.35449
}

Semantic roles & 50–950 ramp

primary
#D97BF4
secondary
#DDF5D6
accent
#E10436
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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