#D97ACF#D97ACF

#D97ACF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.2% C 0.158 H 331.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D97ACF
RGBrgb(217, 122, 207)
HSLhsl(306, 56%, 66%)
HSVhsv(306, 44%, 85%)
CMYKcmyk(0%, 43.8%, 4.6%, 14.9%)
CIE-LABlab(64.31, 48.79, -28.16)
CIE-LCHlch(64.31, 56.33, 330.00°)
OKLaboklab(71.21% 0.1382 -0.0765)
OKLCHoklch(71.21% 0.158 331)
XYZxyz(46.8368, 33.1783, 62.9564)
Luminance0.3318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97ACF #7AD984
analogous
#B47AD9 #D97ACF #D97AA0
triadic
#D97ACF #CFD97A #7ACFD9
tetradic
#D97ACF #D9B47A #7AD984 #7AA0D9
square
#D97ACF #D9B47A #7AD984 #7AA0D9
split-complementary
#D97ACF #A0D97A #7AD9B4
monochromatic
#A8309C #CB4ABE #D97ACF #E7AAE0 #F4D9F1

Accessibility & contrast

On white

2.75
#D97ACF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D97ACF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97ACF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97ACF#FFFFFF#000000##000000
##D97ACF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D2
Deuteranopia (green-blind)
#90A1CC
Tritanopia (blue-blind)
#E0819B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97acf;
/* rgb */ color: rgb(217, 122, 207);
/* oklch */ color: oklch(71.2% 0.158 331.0);
Tailwind
colors: {
  custom: {
    50: '#e6a3de',
    500: '#d97acf',
    950: '#000000',
  },
}
SCSS
$custom: #d97acf;
$custom-light: #e6a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#d97acf",
  "rgb": {
    "r": 217,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 306.316,
    "s": 55.556,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7121,
    "c": 0.158,
    "h": 331
  },
  "luminance": 0.33176
}

Semantic roles & 50–950 ramp

primary
#D97ACF
secondary
#C8E7CB
accent
#C33322
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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