#DB97D3#DB97D3

#DB97D3 is a light, moderate purple. Relative luminance 0.419; OKLCH L 76.2% C 0.113 H 330.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#DB97D3
RGBrgb(219, 151, 211)
HSLhsl(307, 49%, 73%)
HSVhsv(307, 31%, 86%)
CMYKcmyk(0%, 31.1%, 3.7%, 14.1%)
CIE-LABlab(70.80, 34.89, -20.42)
CIE-LCHlch(70.80, 40.43, 329.66°)
OKLaboklab(76.21% 0.0983 -0.055)
OKLCHoklch(76.21% 0.113 330.8)
XYZxyz(52.0371, 41.8985, 66.9615)
Luminance0.4190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97D3 #97DB9F
analogous
#C197DB #DB97D3 #DB97B1
triadic
#DB97D3 #D3DB97 #97D3DB
tetradic
#DB97D3 #DBC197 #97DB9F #97B1DB
square
#DB97D3 #DBC197 #97DB9F #97B1DB
split-complementary
#DB97D3 #B1DB97 #97DBC1
monochromatic
#B840AA #CB6AC0 #DB97D3 #EBC4E6 #F7E8F5

Accessibility & contrast

On white

2.24
#DB97D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#DB97D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97D3
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97D3#FFFFFF#000000##000000
##DB97D31.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A8D5
Deuteranopia (green-blind)
#A5B1D1
Tritanopia (blue-blind)
#E19BAD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db97d3;
/* rgb */ color: rgb(219, 151, 211);
/* oklch */ color: oklch(76.2% 0.113 330.8);
Tailwind
colors: {
  custom: {
    50: '#e7b6e0',
    500: '#db97d3',
    950: '#000000',
  },
}
SCSS
$custom: #db97d3;
$custom-light: #e7b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#db97d3",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 211
  },
  "hsl": {
    "h": 307.059,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76207,
    "c": 0.11267,
    "h": 330.8
  },
  "luminance": 0.41896
}

Semantic roles & 50–950 ramp

primary
#DB97D3
secondary
#DDEEDF
accent
#BC3B2A
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DB97D3

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

Preview Lab → · Contrast checker → · Palette generator →

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