#D97FCF#D97FCF

#D97FCF is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.0% C 0.150 H 331.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#D97FCF
RGBrgb(217, 127, 207)
HSLhsl(307, 54%, 67%)
HSVhsv(307, 41%, 85%)
CMYKcmyk(0%, 41.5%, 4.6%, 14.9%)
CIE-LABlab(65.31, 46.22, -26.62)
CIE-LCHlch(65.31, 53.34, 330.07°)
OKLaboklab(71.96% 0.1309 -0.0722)
OKLCHoklch(71.96% 0.15 331.1)
XYZxyz(47.4666, 34.4379, 63.1664)
Luminance0.3443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FCF #7FD989
analogous
#B67FD9 #D97FCF #D97FA2
triadic
#D97FCF #CFD97F #7FCFD9
tetradic
#D97FCF #D9B67F #7FD989 #7FA2D9
square
#D97FCF #D9B67F #7FD989 #7FA2D9
split-complementary
#D97FCF #A2D97F #7FD9B6
monochromatic
#AB339E #CB50BD #D97FCF #E7AEE1 #F5DDF2

Accessibility & contrast

On white

2.66
#D97FCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#D97FCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FCF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FCF#FFFFFF#000000##000000
##D97FCF1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D2
Deuteranopia (green-blind)
#94A3CC
Tritanopia (blue-blind)
#E0859E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97fcf;
/* rgb */ color: rgb(217, 127, 207);
/* oklch */ color: oklch(72.0% 0.150 331.1);
Tailwind
colors: {
  custom: {
    50: '#e6a6de',
    500: '#d97fcf',
    950: '#000000',
  },
}
SCSS
$custom: #d97fcf;
$custom-light: #e6a6de;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fcf",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 306.667,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71961,
    "c": 0.14952,
    "h": 331.1
  },
  "luminance": 0.34435
}

Semantic roles & 50–950 ramp

primary
#D97FCF
secondary
#CCE8CF
accent
#C23524
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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