#D97CEB#D97CEB

#D97CEB is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.181 H 320.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#D97CEB
RGBrgb(217, 124, 235)
HSLhsl(290, 74%, 70%)
HSVhsv(290, 47%, 92%)
CMYKcmyk(7.7%, 47.2%, 0%, 7.8%)
CIE-LABlab(65.88, 52.89, -41.30)
CIE-LCHlch(65.88, 67.10, 322.01°)
OKLaboklab(72.77% 0.1406 -0.1141)
OKLCHoklch(72.77% 0.181 320.9)
XYZxyz(50.8166, 35.1672, 82.6923)
Luminance0.3517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CEB #8EEB7C
analogous
#A17CEB #D97CEB #EB7CC6
triadic
#D97CEB #EBD97C #7CEBD9
tetradic
#D97CEB #EBA17C #8EEB7C #7CC6EB
square
#D97CEB #EBA17C #8EEB7C #7CC6EB
split-complementary
#D97CEB #C6EB7C #7CEBA1
monochromatic
#B11FCD #CA47E3 #D97CEB #E8B1F3 #F7E4FB

Accessibility & contrast

On white

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

On black

8.03
#D97CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CEB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CEB#FFFFFF#000000##000000
##D97CEB1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#DB8AA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97ceb;
/* rgb */ color: rgb(217, 124, 235);
/* oklch */ color: oklch(72.8% 0.181 320.9);
Tailwind
colors: {
  custom: {
    50: '#e7a5f2',
    500: '#d97ceb',
    950: '#000000',
  },
}
SCSS
$custom: #d97ceb;
$custom-light: #e7a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ceb",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 290.27,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72769,
    "c": 0.18102,
    "h": 320.9
  },
  "luminance": 0.35165
}

Semantic roles & 50–950 ramp

primary
#D97CEB
secondary
#D7F1D2
accent
#D61030
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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