#DB97DF#DB97DF

#DB97DF is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.7% C 0.124 H 324.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#DB97DF
RGBrgb(219, 151, 223)
HSLhsl(297, 53%, 73%)
HSVhsv(297, 32%, 87%)
CMYKcmyk(1.8%, 32.3%, 0%, 12.5%)
CIE-LABlab(71.23, 37.09, -26.38)
CIE-LCHlch(71.23, 45.52, 324.59°)
OKLaboklab(76.68% 0.1016 -0.0717)
OKLCHoklch(76.68% 0.124 324.8)
XYZxyz(53.5980, 42.5228, 75.1821)
Luminance0.4252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97DF #9BDF97
analogous
#B797DF #DB97DF #DF97BF
triadic
#DB97DF #DFDB97 #97DFDB
tetradic
#DB97DF #DFB797 #9BDF97 #97BFDF
square
#DB97DF #DFB797 #9BDF97 #97BFDF
split-complementary
#DB97DF #BFDF97 #97DFB7
monochromatic
#B93BC0 #CB68D1 #DB97DF #EBC6ED #F7E8F8

Accessibility & contrast

On white

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

On black

9.50
#DB97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97DF
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97DF#FFFFFF#000000##000000
##DB97DF1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#A1B1DD
Tritanopia (blue-blind)
#DE9EB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db97df;
/* rgb */ color: rgb(219, 151, 223);
/* oklch */ color: oklch(76.7% 0.124 324.8);
Tailwind
colors: {
  custom: {
    50: '#e7b6e9',
    500: '#db97df',
    950: '#000000',
  },
}
SCSS
$custom: #db97df;
$custom-light: #e7b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#db97df",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 296.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76675,
    "c": 0.12434,
    "h": 324.8
  },
  "luminance": 0.42521
}

Semantic roles & 50–950 ramp

primary
#DB97DF
secondary
#DDEFDC
accent
#C0252E
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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