#DB97DC#DB97DC

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

Color values

HEX#DB97DC
RGBrgb(219, 151, 220)
HSLhsl(299, 50%, 73%)
HSVhsv(299, 31%, 86%)
CMYKcmyk(0.5%, 31.4%, 0%, 13.7%)
CIE-LABlab(71.12, 36.54, -24.89)
CIE-LCHlch(71.12, 44.21, 325.73°)
OKLaboklab(76.55% 0.1008 -0.0675)
OKLCHoklch(76.55% 0.121 326.2)
XYZxyz(53.1971, 42.3625, 73.0708)
Luminance0.4236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97DC #98DC97
analogous
#B897DC #DB97DC #DC97BB
triadic
#DB97DC #DCDB97 #97DCDB
tetradic
#DB97DC #DCB897 #98DC97 #97BBDC
square
#DB97DC #DCB897 #98DC97 #97BBDC
split-complementary
#DB97DC #BBDC97 #97DCB8
monochromatic
#B83FBA #CB69CD #DB97DC #EBC5EB #F7E8F7

Accessibility & contrast

On white

2.22
#DB97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#DB97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97DC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97DC#FFFFFF#000000##000000
##DB97DC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9DF
Deuteranopia (green-blind)
#A2B1DA
Tritanopia (blue-blind)
#DF9DB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db97dc;
/* rgb */ color: rgb(219, 151, 220);
/* oklch */ color: oklch(76.6% 0.121 326.2);
Tailwind
colors: {
  custom: {
    50: '#e7b6e7',
    500: '#db97dc',
    950: '#000000',
  },
}
SCSS
$custom: #db97dc;
$custom-light: #e7b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db97dc",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 299.13,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76555,
    "c": 0.12134,
    "h": 326.2
  },
  "luminance": 0.42361
}

Semantic roles & 50–950 ramp

primary
#DB97DC
secondary
#DDEEDD
accent
#BD292B
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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