#D97BEC#D97BEC

#D97BEC is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.184 H 320.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D97BEC
RGBrgb(217, 123, 236)
HSLhsl(290, 75%, 70%)
HSVhsv(290, 48%, 93%)
CMYKcmyk(8.1%, 47.9%, 0%, 7.5%)
CIE-LABlab(65.73, 53.58, -42.09)
CIE-LCHlch(65.73, 68.14, 321.85°)
OKLaboklab(72.67% 0.1421 -0.1163)
OKLCHoklch(72.67% 0.184 320.7)
XYZxyz(50.8368, 34.9758, 83.4138)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BEC #8EEC7B
analogous
#A17BEC #D97BEC #EC7BC6
triadic
#D97BEC #ECD97B #7BECD9
tetradic
#D97BEC #ECA17B #8EEC7B #7BC6EC
square
#D97BEC #ECA17B #8EEC7B #7BC6EC
split-complementary
#D97BEC #C6EC7B #7BECA1
monochromatic
#B11ECF #CA46E4 #D97BEC #E8B0F4 #F7E4FB

Accessibility & contrast

On white

2.63
#D97BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D97BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BEC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BEC#FFFFFF#000000##000000
##D97BEC1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#DB8AA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97bec;
/* rgb */ color: rgb(217, 123, 236);
/* oklch */ color: oklch(72.7% 0.184 320.7);
Tailwind
colors: {
  custom: {
    50: '#e7a4f2',
    500: '#d97bec',
    950: '#000000',
  },
}
SCSS
$custom: #d97bec;
$custom-light: #e7a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bec",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 289.912,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.18361,
    "h": 320.7
  },
  "luminance": 0.34974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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