#D97CDA#D97CDA

#D97CDA is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.165 H 326.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D97CDA
RGBrgb(217, 124, 218)
HSLhsl(299, 56%, 67%)
HSVhsv(299, 43%, 85%)
CMYKcmyk(0.5%, 43.1%, 0%, 14.5%)
CIE-LABlab(65.15, 49.72, -33.01)
CIE-LCHlch(65.15, 59.68, 326.42°)
OKLaboklab(71.98% 0.1376 -0.0903)
OKLCHoklch(71.98% 0.165 326.7)
XYZxyz(48.4769, 34.2313, 70.3699)
Luminance0.3423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CDA #7DDA7C
analogous
#AA7CDA #D97CDA #DA7CAC
triadic
#D97CDA #DAD97C #7CDAD9
tetradic
#D97CDA #DAAA7C #7DDA7C #7CACDA
square
#D97CDA #DAAA7C #7DDA7C #7CACDA
split-complementary
#D97CDA #ACDA7C #7CDAAA
monochromatic
#AA30AB #CB4CCD #D97CDA #E7ACE7 #F5DBF5

Accessibility & contrast

On white

2.68
#D97CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D97CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CDA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CDA#FFFFFF#000000##000000
##D97CDA1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#8EA2D7
Tritanopia (blue-blind)
#DE86A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cda;
/* rgb */ color: rgb(217, 124, 218);
/* oklch */ color: oklch(72.0% 0.165 326.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4e5',
    500: '#d97cda',
    950: '#000000',
  },
}
SCSS
$custom: #d97cda;
$custom-light: #e6a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cda",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 299.362,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.16461,
    "h": 326.7
  },
  "luminance": 0.34229
}

Semantic roles & 50–950 ramp

primary
#D97CDA
secondary
#CAE8CA
accent
#C32224
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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