#D97BF3#D97BF3

#D97BF3 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.0% C 0.191 H 318.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D97BF3
RGBrgb(217, 123, 243)
HSLhsl(287, 83%, 72%)
HSVhsv(287, 49%, 95%)
CMYKcmyk(10.7%, 49.4%, 0%, 4.7%)
CIE-LABlab(66.05, 54.94, -45.44)
CIE-LCHlch(66.05, 71.30, 320.40°)
OKLaboklab(73.02% 0.143 -0.126)
OKLCHoklch(73.02% 0.191 318.6)
XYZxyz(51.8737, 35.3906, 88.8752)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BF3 #95F37B
analogous
#9D7BF3 #D97BF3 #F37BD1
triadic
#D97BF3 #F3D97B #7BF3D9
tetradic
#D97BF3 #F39D7B #95F37B #7BD1F3
square
#D97BF3 #F39D7B #95F37B #7BD1F3
split-complementary
#D97BF3 #D1F37B #7BF39D
monochromatic
#B314DF #C943EE #D97BF3 #E9B3F8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.08
#D97BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BF3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BF3#FFFFFF#000000##000000
##D97BF31.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#81A4F0
Tritanopia (blue-blind)
#D98CAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97bf3;
/* rgb */ color: rgb(217, 123, 243);
/* oklch */ color: oklch(73.0% 0.191 318.6);
Tailwind
colors: {
  custom: {
    50: '#e7a4f7',
    500: '#d97bf3',
    950: '#000000',
  },
}
SCSS
$custom: #d97bf3;
$custom-light: #e7a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bf3",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 287,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73017,
    "c": 0.19059,
    "h": 318.6
  },
  "luminance": 0.35389
}

Semantic roles & 50–950 ramp

primary
#D97BF3
secondary
#DCF4D6
accent
#E00635
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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