#D97CE3#D97CE3

#D97CE3 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.173 H 323.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D97CE3
RGBrgb(217, 124, 227)
HSLhsl(294, 65%, 69%)
HSVhsv(294, 45%, 89%)
CMYKcmyk(4.4%, 45.4%, 0%, 11%)
CIE-LABlab(65.53, 51.38, -37.42)
CIE-LCHlch(65.53, 63.56, 323.93°)
OKLaboklab(72.39% 0.1393 -0.1029)
OKLCHoklch(72.39% 0.173 323.5)
XYZxyz(49.6867, 34.7152, 76.7416)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CE3 #86E37C
analogous
#A67CE3 #D97CE3 #E37CBA
triadic
#D97CE3 #E3D97C #7CE3D9
tetradic
#D97CE3 #E3A67C #86E37C #7CBAE3
square
#D97CE3 #E3A67C #86E37C #7CBAE3
split-complementary
#D97CE3 #BAE37C #7CE3A6
monochromatic
#AE28BC #CA4AD8 #D97CE3 #E8AEEE #F6E1F9

Accessibility & contrast

On white

2.64
#D97CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D97CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CE3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CE3#FFFFFF#000000##000000
##D97CE31.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E7
Deuteranopia (green-blind)
#8AA3E0
Tritanopia (blue-blind)
#DC88A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97ce3;
/* rgb */ color: rgb(217, 124, 227);
/* oklch */ color: oklch(72.4% 0.173 323.5);
Tailwind
colors: {
  custom: {
    50: '#e7a4ec',
    500: '#d97ce3',
    950: '#000000',
  },
}
SCSS
$custom: #d97ce3;
$custom-light: #e7a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ce3",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 294.175,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72392,
    "c": 0.17318,
    "h": 323.5
  },
  "luminance": 0.34713
}

Semantic roles & 50–950 ramp

primary
#D97CE3
secondary
#D1EDCE
accent
#CD192A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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