#D97BF0#D97BF0

#D97BF0 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.9% C 0.188 H 319.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D97BF0
RGBrgb(217, 123, 240)
HSLhsl(288, 80%, 71%)
HSVhsv(288, 49%, 94%)
CMYKcmyk(9.6%, 48.7%, 0%, 5.9%)
CIE-LABlab(65.91, 54.35, -44.01)
CIE-LCHlch(65.91, 69.94, 321.00°)
OKLaboklab(72.87% 0.1426 -0.1219)
OKLCHoklch(72.87% 0.188 319.5)
XYZxyz(51.4244, 35.2108, 86.5087)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BF0 #92F07B
analogous
#9E7BF0 #D97BF0 #F07BCC
triadic
#D97BF0 #F0D97B #7BF0D9
tetradic
#D97BF0 #F09E7B #92F07B #7BCCF0
square
#D97BF0 #F09E7B #92F07B #7BCCF0
split-complementary
#D97BF0 #CCF07B #7BF09E
monochromatic
#B219D8 #C944EA #D97BF0 #E9B2F6 #F7E4FC

Accessibility & contrast

On white

2.61
#D97BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D97BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BF0
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BF0#FFFFFF#000000##000000
##D97BF01.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#83A4ED
Tritanopia (blue-blind)
#DA8BAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97bf0;
/* rgb */ color: rgb(217, 123, 240);
/* oklch */ color: oklch(72.9% 0.188 319.5);
Tailwind
colors: {
  custom: {
    50: '#e7a4f5',
    500: '#d97bf0',
    950: '#000000',
  },
}
SCSS
$custom: #d97bf0;
$custom-light: #e7a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bf0",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 288.205,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72868,
    "c": 0.18759,
    "h": 319.5
  },
  "luminance": 0.35209
}

Semantic roles & 50–950 ramp

primary
#D97BF0
secondary
#DAF3D4
accent
#DC0A33
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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