#D97CF8#D97CF8

#D97CF8 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.194 H 317.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D97CF8
RGBrgb(217, 124, 248)
HSLhsl(285, 90%, 73%)
HSVhsv(285, 50%, 97%)
CMYKcmyk(12.5%, 50%, 0%, 2.7%)
CIE-LABlab(66.48, 55.42, -47.52)
CIE-LCHlch(66.48, 73.00, 319.39°)
OKLaboklab(73.41% 0.1422 -0.132)
OKLCHoklch(73.41% 0.194 317.1)
XYZxyz(52.7638, 35.9461, 92.9476)
Luminance0.3594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CF8 #9BF87C
analogous
#9B7CF8 #D97CF8 #F87CD9
triadic
#D97CF8 #F8D97C #7CF8D9
tetradic
#D97CF8 #F89B7C #9BF87C #7CD9F8
square
#D97CF8 #F89B7C #9BF87C #7CD9F8
split-complementary
#D97CF8 #D9F87C #7CF89B
monochromatic
#B50DED #C842F5 #D97CF8 #EAB6FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.19
#D97CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CF8
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CF8#FFFFFF#000000##000000
##D97CF81.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#D88EAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d97cf8;
/* rgb */ color: rgb(217, 124, 248);
/* oklch */ color: oklch(73.4% 0.194 317.1);
Tailwind
colors: {
  custom: {
    50: '#e7a5fb',
    500: '#d97cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d97cf8;
$custom-light: #e7a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cf8",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 285,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.19407,
    "h": 317.1
  },
  "luminance": 0.35944
}

Semantic roles & 50–950 ramp

primary
#D97CF8
secondary
#DDF6D5
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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