#DB97DD#DB97DD

#DB97DD is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.6% C 0.122 H 325.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#DB97DD
RGBrgb(219, 151, 221)
HSLhsl(298, 51%, 73%)
HSVhsv(298, 32%, 87%)
CMYKcmyk(0.9%, 31.7%, 0%, 13.3%)
CIE-LABlab(71.16, 36.72, -25.39)
CIE-LCHlch(71.16, 44.64, 325.34°)
OKLaboklab(76.6% 0.1011 -0.0689)
OKLCHoklch(76.6% 0.122 325.7)
XYZxyz(53.3299, 42.4156, 73.7704)
Luminance0.4241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97DD #99DD97
analogous
#B897DD #DB97DD #DD97BC
triadic
#DB97DD #DDDB97 #97DDDB
tetradic
#DB97DD #DDB897 #99DD97 #97BCDD
square
#DB97DD #DDB897 #99DD97 #97BCDD
split-complementary
#DB97DD #BCDD97 #97DDB8
monochromatic
#B83DBC #CB69CE #DB97DD #EBC5EC #F7E8F7

Accessibility & contrast

On white

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

On black

9.48
#DB97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97DD
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97DD#FFFFFF#000000##000000
##DB97DD1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9E0
Deuteranopia (green-blind)
#A2B1DB
Tritanopia (blue-blind)
#DF9DB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db97dd;
/* rgb */ color: rgb(219, 151, 221);
/* oklch */ color: oklch(76.6% 0.122 325.7);
Tailwind
colors: {
  custom: {
    50: '#e7b6e7',
    500: '#db97dd',
    950: '#000000',
  },
}
SCSS
$custom: #db97dd;
$custom-light: #e7b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db97dd",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 298.286,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76595,
    "c": 0.12234,
    "h": 325.7
  },
  "luminance": 0.42414
}

Semantic roles & 50–950 ramp

primary
#DB97DD
secondary
#DDEFDC
accent
#BE272C
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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