#DB97EF#DB97EF

#DB97EF is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.3% C 0.141 H 318.3°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#DB97EF
RGBrgb(219, 151, 239)
HSLhsl(286, 73%, 76%)
HSVhsv(286, 37%, 94%)
CMYKcmyk(8.4%, 36.8%, 0%, 6.3%)
CIE-LABlab(71.84, 40.17, -34.19)
CIE-LCHlch(71.84, 52.76, 319.60°)
OKLaboklab(77.34% 0.1055 -0.0938)
OKLCHoklch(77.34% 0.141 318.3)
XYZxyz(55.8579, 43.4268, 87.0844)
Luminance0.4343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97EF #ABEF97
analogous
#AF97EF #DB97EF #EF97D7
triadic
#DB97EF #EFDB97 #97EFDB
tetradic
#DB97EF #EFAF97 #ABEF97 #97D7EF
square
#DB97EF #EFAF97 #ABEF97 #97D7EF
split-complementary
#DB97EF #D7EF97 #97EFAF
monochromatic
#B62DDF #C962E7 #DB97EF #EDCCF7 #F6E4FB

Accessibility & contrast

On white

2.17
#DB97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#DB97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97EF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97EF#FFFFFF#000000##000000
##DB97EF1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#DBA2B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db97ef;
/* rgb */ color: rgb(219, 151, 239);
/* oklch */ color: oklch(77.3% 0.141 318.3);
Tailwind
colors: {
  custom: {
    50: '#e7b6f4',
    500: '#db97ef',
    950: '#000000',
  },
}
SCSS
$custom: #db97ef;
$custom-light: #e7b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db97ef",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 286.364,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77341,
    "c": 0.14117,
    "h": 318.3
  },
  "luminance": 0.43425
}

Semantic roles & 50–950 ramp

primary
#DB97EF
secondary
#DEF3D8
accent
#D5103D
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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