#DB97EB#DB97EB

#DB97EB is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.2% C 0.137 H 319.8°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#DB97EB
RGBrgb(219, 151, 235)
HSLhsl(289, 68%, 76%)
HSVhsv(289, 36%, 92%)
CMYKcmyk(6.8%, 35.7%, 0%, 7.8%)
CIE-LABlab(71.69, 39.39, -32.25)
CIE-LCHlch(71.69, 50.91, 320.69°)
OKLaboklab(77.17% 0.1046 -0.0883)
OKLCHoklch(77.17% 0.137 319.8)
XYZxyz(55.2735, 43.1931, 84.0066)
Luminance0.4319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97EB #A7EB97
analogous
#B197EB #DB97EB #EB97D1
triadic
#DB97EB #EBDB97 #97EBDB
tetradic
#DB97EB #EBB197 #A7EB97 #97D1EB
square
#DB97EB #EBB197 #A7EB97 #97D1EB
split-complementary
#DB97EB #D1EB97 #97EBB1
monochromatic
#B730D7 #C964E1 #DB97EB #EDCAF5 #F6E5FA

Accessibility & contrast

On white

2.18
#DB97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#DB97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97EB
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97EB#FFFFFF#000000##000000
##DB97EB1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEE
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#DCA1B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db97eb;
/* rgb */ color: rgb(219, 151, 235);
/* oklch */ color: oklch(77.2% 0.137 319.8);
Tailwind
colors: {
  custom: {
    50: '#e7b6f1',
    500: '#db97eb',
    950: '#000000',
  },
}
SCSS
$custom: #db97eb;
$custom-light: #e7b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db97eb",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 288.571,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7717,
    "c": 0.13686,
    "h": 319.8
  },
  "luminance": 0.43191
}

Semantic roles & 50–950 ramp

primary
#DB97EB
secondary
#DEF2D9
accent
#D01639
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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