#DB97D2#DB97D2

#DB97D2 is a light, moderate purple. Relative luminance 0.418; OKLCH L 76.2% C 0.112 H 331.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#DB97D2
RGBrgb(219, 151, 210)
HSLhsl(308, 49%, 73%)
HSVhsv(308, 31%, 86%)
CMYKcmyk(0%, 31.1%, 4.1%, 14.1%)
CIE-LABlab(70.77, 34.72, -19.92)
CIE-LCHlch(70.77, 40.03, 330.15°)
OKLaboklab(76.17% 0.098 -0.0536)
OKLCHoklch(76.17% 0.112 331.3)
XYZxyz(51.9121, 41.8485, 66.3034)
Luminance0.4185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97D2 #97DBA0
analogous
#C297DB #DB97D2 #DB97B0
triadic
#DB97D2 #D2DB97 #97D2DB
tetradic
#DB97D2 #DBC297 #97DBA0 #97B0DB
square
#DB97D2 #DBC297 #97DBA0 #97B0DB
split-complementary
#DB97D2 #B0DB97 #97DBC2
monochromatic
#B840A8 #CB6ABE #DB97D2 #EBC4E6 #F7E8F5

Accessibility & contrast

On white

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

On black

9.37
#DB97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97D2
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97D2#FFFFFF#000000##000000
##DB97D21.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A7D4
Deuteranopia (green-blind)
#A6B1D0
Tritanopia (blue-blind)
#E19BAC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db97d2;
/* rgb */ color: rgb(219, 151, 210);
/* oklch */ color: oklch(76.2% 0.112 331.3);
Tailwind
colors: {
  custom: {
    50: '#e7b6e0',
    500: '#db97d2',
    950: '#000000',
  },
}
SCSS
$custom: #db97d2;
$custom-light: #e7b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#db97d2",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 307.941,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7617,
    "c": 0.11174,
    "h": 331.3
  },
  "luminance": 0.41846
}

Semantic roles & 50–950 ramp

primary
#DB97D2
secondary
#DDEEDF
accent
#BC3D2A
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DB97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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