#D97CCE#D97CCE

#D97CCE is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.5% C 0.154 H 331.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D97CCE
RGBrgb(217, 124, 206)
HSLhsl(307, 55%, 67%)
HSVhsv(307, 43%, 85%)
CMYKcmyk(0%, 42.9%, 5.1%, 14.9%)
CIE-LABlab(64.66, 47.59, -27.05)
CIE-LCHlch(64.66, 54.74, 330.39°)
OKLaboklab(71.47% 0.1351 -0.0734)
OKLCHoklch(71.47% 0.154 331.5)
XYZxyz(46.9631, 33.6258, 62.3973)
Luminance0.3362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CCE #7CD987
analogous
#B67CD9 #D97CCE #D97CA0
triadic
#D97CCE #CED97C #7CCED9
tetradic
#D97CCE #D9B67C #7CD987 #7CA0D9
square
#D97CCE #D9B67C #7CD987 #7CA0D9
split-complementary
#D97CCE #A0D97C #7CD9B6
monochromatic
#A9319B #CB4DBC #D97CCE #E7ABE0 #F5DBF1

Accessibility & contrast

On white

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

On black

7.72
#D97CCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CCE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CCE#FFFFFF#000000##000000
##D97CCE1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D1
Deuteranopia (green-blind)
#92A2CB
Tritanopia (blue-blind)
#E0829C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97cce;
/* rgb */ color: rgb(217, 124, 206);
/* oklch */ color: oklch(71.5% 0.154 331.5);
Tailwind
colors: {
  custom: {
    50: '#e6a4dd',
    500: '#d97cce',
    950: '#000000',
  },
}
SCSS
$custom: #d97cce;
$custom-light: #e6a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cce",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 307.097,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71465,
    "c": 0.15374,
    "h": 331.5
  },
  "luminance": 0.33623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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