#D97CDC#D97CDC

#D97CDC is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.1% C 0.166 H 326.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D97CDC
RGBrgb(217, 124, 220)
HSLhsl(298, 58%, 67%)
HSVhsv(298, 44%, 86%)
CMYKcmyk(1.4%, 43.6%, 0%, 13.7%)
CIE-LABlab(65.23, 50.08, -34.00)
CIE-LCHlch(65.23, 60.53, 325.83°)
OKLaboklab(72.07% 0.138 -0.0931)
OKLCHoklch(72.07% 0.166 326)
XYZxyz(48.7401, 34.3366, 71.7566)
Luminance0.3433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CDC #7FDC7C
analogous
#A97CDC #D97CDC #DC7CAF
triadic
#D97CDC #DCD97C #7CDCD9
tetradic
#D97CDC #DCA97C #7FDC7C #7CAFDC
square
#D97CDC #DCA97C #7FDC7C #7CAFDC
split-complementary
#D97CDC #AFDC7C #7CDCA9
monochromatic
#AB2FAF #CB4CCF #D97CDC #E7ACE9 #F5DDF6

Accessibility & contrast

On white

2.67
#D97CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D97CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CDC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CDC#FFFFFF#000000##000000
##D97CDC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#8DA3D9
Tritanopia (blue-blind)
#DE86A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cdc;
/* rgb */ color: rgb(217, 124, 220);
/* oklch */ color: oklch(72.1% 0.166 326.0);
Tailwind
colors: {
  custom: {
    50: '#e6a4e7',
    500: '#d97cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d97cdc;
$custom-light: #e6a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cdc",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 298.125,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72073,
    "c": 0.16649,
    "h": 326
  },
  "luminance": 0.34334
}

Semantic roles & 50–950 ramp

primary
#D97CDC
secondary
#CCE9CB
accent
#C52025
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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