#D97CED#D97CED

#D97CED is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.9% C 0.183 H 320.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D97CED
RGBrgb(217, 124, 237)
HSLhsl(289, 76%, 71%)
HSVhsv(289, 48%, 93%)
CMYKcmyk(8.4%, 47.7%, 0%, 7.1%)
CIE-LABlab(65.97, 53.27, -42.27)
CIE-LCHlch(65.97, 68.00, 321.57°)
OKLaboklab(72.87% 0.1409 -0.1168)
OKLCHoklch(72.87% 0.183 320.3)
XYZxyz(51.1071, 35.2834, 84.2226)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CED #90ED7C
analogous
#A07CED #D97CED #ED7CC8
triadic
#D97CED #EDD97C #7CEDD9
tetradic
#D97CED #EDA07C #90ED7C #7CC8ED
square
#D97CED #EDA07C #90ED7C #7CC8ED
split-complementary
#D97CED #C8ED7C #7CEDA0
monochromatic
#B21DD2 #C946E6 #D97CED #E9B2F4 #F7E4FB

Accessibility & contrast

On white

2.61
#D97CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D97CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CED
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CED#FFFFFF#000000##000000
##D97CED1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#DA8BAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97ced;
/* rgb */ color: rgb(217, 124, 237);
/* oklch */ color: oklch(72.9% 0.183 320.3);
Tailwind
colors: {
  custom: {
    50: '#e7a5f3',
    500: '#d97ced',
    950: '#000000',
  },
}
SCSS
$custom: #d97ced;
$custom-light: #e7a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ced",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 289.381,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72865,
    "c": 0.183,
    "h": 320.3
  },
  "luminance": 0.35281
}

Semantic roles & 50–950 ramp

primary
#D97CED
secondary
#D9F2D3
accent
#D80D31
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97CED

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

Preview Lab → · Contrast checker → · Palette generator →

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