#DB97E7#DB97E7

#DB97E7 is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.0% C 0.133 H 321.4°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#DB97E7
RGBrgb(219, 151, 231)
HSLhsl(291, 63%, 75%)
HSVhsv(291, 35%, 91%)
CMYKcmyk(5.2%, 34.6%, 0%, 9.4%)
CIE-LABlab(71.53, 38.61, -30.30)
CIE-LCHlch(71.53, 49.08, 321.88°)
OKLaboklab(77% 0.1036 -0.0828)
OKLCHoklch(77% 0.133 321.4)
XYZxyz(54.7021, 42.9645, 80.9972)
Luminance0.4296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97E7 #A3E797
analogous
#B397E7 #DB97E7 #E797CB
triadic
#DB97E7 #E7DB97 #97E7DB
tetradic
#DB97E7 #E7B397 #A3E797 #97CBE7
square
#DB97E7 #E7B397 #A3E797 #97CBE7
split-complementary
#DB97E7 #CBE797 #97E7B3
monochromatic
#B934D0 #CA65DC #DB97E7 #ECC9F2 #F6E6F9

Accessibility & contrast

On white

2.19
#DB97E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#DB97E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97E7
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97E7#FFFFFF#000000##000000
##DB97E71.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAAEA
Deuteranopia (green-blind)
#9FB2E4
Tritanopia (blue-blind)
#DDA0B5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db97e7;
/* rgb */ color: rgb(219, 151, 231);
/* oklch */ color: oklch(77.0% 0.133 321.4);
Tailwind
colors: {
  custom: {
    50: '#e7b6ef',
    500: '#db97e7',
    950: '#000000',
  },
}
SCSS
$custom: #db97e7;
$custom-light: #e7b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#db97e7",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 291,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.13261,
    "h": 321.4
  },
  "luminance": 0.42963
}

Semantic roles & 50–950 ramp

primary
#DB97E7
secondary
#DEF1DA
accent
#CA1B36
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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