#DB97ED#DB97ED

#DB97ED is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.3% C 0.139 H 319.1°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#DB97ED
RGBrgb(219, 151, 237)
HSLhsl(287, 70%, 76%)
HSVhsv(287, 36%, 93%)
CMYKcmyk(7.6%, 36.3%, 0%, 7.1%)
CIE-LABlab(71.76, 39.78, -33.22)
CIE-LCHlch(71.76, 51.83, 320.13°)
OKLaboklab(77.26% 0.105 -0.0911)
OKLCHoklch(77.26% 0.139 319.1)
XYZxyz(55.5641, 43.3093, 85.5369)
Luminance0.4331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97ED #A9ED97
analogous
#B097ED #DB97ED #ED97D4
triadic
#DB97ED #EDDB97 #97EDDB
tetradic
#DB97ED #EDB097 #A9ED97 #97D4ED
square
#DB97ED #EDB097 #A9ED97 #97D4ED
split-complementary
#DB97ED #D4ED97 #97EDB0
monochromatic
#B72FDB #C963E4 #DB97ED #EDCBF6 #F6E5FA

Accessibility & contrast

On white

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

On black

9.66
#DB97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97ED
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97ED#FFFFFF#000000##000000
##DB97ED1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF0
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#DCA1B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db97ed;
/* rgb */ color: rgb(219, 151, 237);
/* oklch */ color: oklch(77.3% 0.139 319.1);
Tailwind
colors: {
  custom: {
    50: '#e7b6f3',
    500: '#db97ed',
    950: '#000000',
  },
}
SCSS
$custom: #db97ed;
$custom-light: #e7b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db97ed",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 287.442,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77255,
    "c": 0.139,
    "h": 319.1
  },
  "luminance": 0.43308
}

Semantic roles & 50–950 ramp

primary
#DB97ED
secondary
#DEF2D9
accent
#D3133B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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