#D97CCF#D97CCF

#D97CCF is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.155 H 331.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D97CCF
RGBrgb(217, 124, 207)
HSLhsl(306, 55%, 67%)
HSVhsv(306, 43%, 85%)
CMYKcmyk(0%, 42.9%, 4.6%, 14.9%)
CIE-LABlab(64.70, 47.77, -27.55)
CIE-LCHlch(64.70, 55.14, 330.03°)
OKLaboklab(71.51% 0.1353 -0.0748)
OKLCHoklch(71.51% 0.155 331.1)
XYZxyz(47.0849, 33.6745, 63.0391)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CCF #7CD986
analogous
#B57CD9 #D97CCF #D97CA1
triadic
#D97CCF #CFD97C #7CCFD9
tetradic
#D97CCF #D9B57C #7CD986 #7CA1D9
square
#D97CCF #D9B57C #7CD986 #7CA1D9
split-complementary
#D97CCF #A1D97C #7CD9B5
monochromatic
#A9319D #CB4DBE #D97CCF #E7ABE0 #F5DBF2

Accessibility & contrast

On white

2.72
#D97CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D97CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CCF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CCF#FFFFFF#000000##000000
##D97CCF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#92A2CC
Tritanopia (blue-blind)
#E0839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97ccf;
/* rgb */ color: rgb(217, 124, 207);
/* oklch */ color: oklch(71.5% 0.155 331.1);
Tailwind
colors: {
  custom: {
    50: '#e6a4de',
    500: '#d97ccf',
    950: '#000000',
  },
}
SCSS
$custom: #d97ccf;
$custom-light: #e6a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ccf",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 306.452,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.15462,
    "h": 331.1
  },
  "luminance": 0.33672
}

Semantic roles & 50–950 ramp

primary
#D97CCF
secondary
#CAE7CD
accent
#C33423
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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