#DB97EE#DB97EE

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

Color values

HEX#DB97EE
RGBrgb(219, 151, 238)
HSLhsl(287, 72%, 76%)
HSVhsv(287, 37%, 93%)
CMYKcmyk(8%, 36.6%, 0%, 6.7%)
CIE-LABlab(71.80, 39.98, -33.71)
CIE-LCHlch(71.80, 52.29, 319.86°)
OKLaboklab(77.3% 0.1052 -0.0924)
OKLCHoklch(77.3% 0.14 318.7)
XYZxyz(55.7106, 43.3679, 86.3085)
Luminance0.4337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97EE #AAEE97
analogous
#B097EE #DB97EE #EE97D6
triadic
#DB97EE #EEDB97 #97EEDB
tetradic
#DB97EE #EEB097 #AAEE97 #97D6EE
square
#DB97EE #EEB097 #AAEE97 #97D6EE
split-complementary
#DB97EE #D6EE97 #97EEB0
monochromatic
#B72EDD #C962E5 #DB97EE #EDCCF7 #F6E5FB

Accessibility & contrast

On white

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

On black

9.67
#DB97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97EE
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97EE#FFFFFF#000000##000000
##DB97EE1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF1
Deuteranopia (green-blind)
#9CB2EB
Tritanopia (blue-blind)
#DCA1B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db97ee;
/* rgb */ color: rgb(219, 151, 238);
/* oklch */ color: oklch(77.3% 0.140 318.7);
Tailwind
colors: {
  custom: {
    50: '#e7b6f3',
    500: '#db97ee',
    950: '#000000',
  },
}
SCSS
$custom: #db97ee;
$custom-light: #e7b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db97ee",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 286.897,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77298,
    "c": 0.14008,
    "h": 318.7
  },
  "luminance": 0.43366
}

Semantic roles & 50–950 ramp

primary
#DB97EE
secondary
#DEF2D9
accent
#D4123C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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