#DB97DE#DB97DE

#DB97DE is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.6% C 0.123 H 325.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#DB97DE
RGBrgb(219, 151, 222)
HSLhsl(297, 52%, 73%)
HSVhsv(297, 32%, 87%)
CMYKcmyk(1.4%, 32%, 0%, 12.9%)
CIE-LABlab(71.19, 36.91, -25.88)
CIE-LCHlch(71.19, 45.08, 324.96°)
OKLaboklab(76.63% 0.1014 -0.0703)
OKLCHoklch(76.63% 0.123 325.3)
XYZxyz(53.4635, 42.4691, 74.4742)
Luminance0.4247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97DE #9ADE97
analogous
#B797DE #DB97DE #DE97BD
triadic
#DB97DE #DEDB97 #97DEDB
tetradic
#DB97DE #DEB797 #9ADE97 #97BDDE
square
#DB97DE #DEB797 #9ADE97 #97BDDE
split-complementary
#DB97DE #BDDE97 #97DEB7
monochromatic
#B93CBE #CB69CF #DB97DE #EBC5ED #F7E8F8

Accessibility & contrast

On white

2.21
#DB97DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#DB97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97DE
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97DE#FFFFFF#000000##000000
##DB97DE1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E1
Deuteranopia (green-blind)
#A2B1DC
Tritanopia (blue-blind)
#DF9EB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db97de;
/* rgb */ color: rgb(219, 151, 222);
/* oklch */ color: oklch(76.6% 0.123 325.3);
Tailwind
colors: {
  custom: {
    50: '#e7b6e8',
    500: '#db97de',
    950: '#000000',
  },
}
SCSS
$custom: #db97de;
$custom-light: #e7b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#db97de",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 297.465,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76635,
    "c": 0.12334,
    "h": 325.3
  },
  "luminance": 0.42467
}

Semantic roles & 50–950 ramp

primary
#DB97DE
secondary
#DDEFDC
accent
#BF262D
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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