#D97CF7#D97CF7

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

Color values

HEX#D97CF7
RGBrgb(217, 124, 247)
HSLhsl(285, 88%, 73%)
HSVhsv(285, 50%, 97%)
CMYKcmyk(12.1%, 49.8%, 0%, 3.1%)
CIE-LABlab(66.43, 55.22, -47.05)
CIE-LCHlch(66.43, 72.54, 319.57°)
OKLaboklab(73.36% 0.1421 -0.1306)
OKLCHoklch(73.36% 0.193 317.4)
XYZxyz(52.6090, 35.8842, 92.1327)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CF7 #9AF77C
analogous
#9C7CF7 #D97CF7 #F77CD7
triadic
#D97CF7 #F7D97C #7CF7D9
tetradic
#D97CF7 #F79C7C #9AF77C #7CD7F7
square
#D97CF7 #F79C7C #9AF77C #7CD7F7
split-complementary
#D97CF7 #D7F77C #7CF79C
monochromatic
#B50EEA #C842F3 #D97CF7 #EAB6FB #F7E2FD

Accessibility & contrast

On white

2.57
#D97CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#D97CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CF7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CF7#FFFFFF#000000##000000
##D97CF71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#D88EAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d97cf7;
/* rgb */ color: rgb(217, 124, 247);
/* oklch */ color: oklch(73.4% 0.193 317.4);
Tailwind
colors: {
  custom: {
    50: '#e7a5fa',
    500: '#d97cf7',
    950: '#000000',
  },
}
SCSS
$custom: #d97cf7;
$custom-light: #e7a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cf7",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 285.366,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73359,
    "c": 0.19306,
    "h": 317.4
  },
  "luminance": 0.35882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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