#DB97EA#DB97EA

#DB97EA is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.1% C 0.136 H 320.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#DB97EA
RGBrgb(219, 151, 234)
HSLhsl(289, 66%, 75%)
HSVhsv(289, 35%, 92%)
CMYKcmyk(6.4%, 35.5%, 0%, 8.2%)
CIE-LABlab(71.65, 39.20, -31.77)
CIE-LCHlch(71.65, 50.45, 320.98°)
OKLaboklab(77.13% 0.1043 -0.0869)
OKLCHoklch(77.13% 0.136 320.2)
XYZxyz(55.1294, 43.1354, 83.2479)
Luminance0.4313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97EA #A6EA97
analogous
#B197EA #DB97EA #EA97CF
triadic
#DB97EA #EADB97 #97EADB
tetradic
#DB97EA #EAB197 #A6EA97 #97CFEA
square
#DB97EA #EAB197 #A6EA97 #97CFEA
split-complementary
#DB97EA #CFEA97 #97EAB1
monochromatic
#B831D5 #C964E0 #DB97EA #EDCAF4 #F6E6FA

Accessibility & contrast

On white

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

On black

9.63
#DB97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97EA
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97EA#FFFFFF#000000##000000
##DB97EA1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#9DB2E7
Tritanopia (blue-blind)
#DCA0B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db97ea;
/* rgb */ color: rgb(219, 151, 234);
/* oklch */ color: oklch(77.1% 0.136 320.2);
Tailwind
colors: {
  custom: {
    50: '#e7b6f1',
    500: '#db97ea',
    950: '#000000',
  },
}
SCSS
$custom: #db97ea;
$custom-light: #e7b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db97ea",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 289.157,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77128,
    "c": 0.13579,
    "h": 320.2
  },
  "luminance": 0.43134
}

Semantic roles & 50–950 ramp

primary
#DB97EA
secondary
#DEF1DA
accent
#CE1738
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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