#DB97E2#DB97E2

#DB97E2 is a light, vivid purple. Relative luminance 0.427; OKLCH L 76.8% C 0.127 H 323.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#DB97E2
RGBrgb(219, 151, 226)
HSLhsl(294, 56%, 74%)
HSVhsv(294, 33%, 89%)
CMYKcmyk(3.1%, 33.2%, 0%, 11.4%)
CIE-LABlab(71.34, 37.66, -27.85)
CIE-LCHlch(71.34, 46.84, 323.51°)
OKLaboklab(76.8% 0.1024 -0.0758)
OKLCHoklch(76.8% 0.127 323.5)
XYZxyz(54.0060, 42.6861, 77.3311)
Luminance0.4268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97E2 #9EE297
analogous
#B697E2 #DB97E2 #E297C4
triadic
#DB97E2 #E2DB97 #97E2DB
tetradic
#DB97E2 #E2B697 #9EE297 #97C4E2
square
#DB97E2 #E2B697 #9EE297 #97C4E2
split-complementary
#DB97E2 #C4E297 #97E2B6
monochromatic
#BA38C7 #CA67D5 #DB97E2 #ECC7EF #F7E7F8

Accessibility & contrast

On white

2.20
#DB97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#DB97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97E2
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97E2#FFFFFF#000000##000000
##DB97E21.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AAE5
Deuteranopia (green-blind)
#A0B2E0
Tritanopia (blue-blind)
#DE9FB3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db97e2;
/* rgb */ color: rgb(219, 151, 226);
/* oklch */ color: oklch(76.8% 0.127 323.5);
Tailwind
colors: {
  custom: {
    50: '#e7b6eb',
    500: '#db97e2',
    950: '#000000',
  },
}
SCSS
$custom: #db97e2;
$custom-light: #e7b6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db97e2",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 294.4,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76796,
    "c": 0.12741,
    "h": 323.5
  },
  "luminance": 0.42684
}

Semantic roles & 50–950 ramp

primary
#DB97E2
secondary
#DDF0DB
accent
#C42231
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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