#DB97FF#DB97FF

#DB97FF is a light, vivid violet. Relative luminance 0.444; OKLCH L 78.1% C 0.159 H 313.2°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#DB97FF
RGBrgb(219, 151, 255)
HSLhsl(279, 100%, 80%)
HSVhsv(279, 41%, 100%)
CMYKcmyk(14.1%, 40.8%, 0%, 0%)
CIE-LABlab(72.50, 43.41, -41.87)
CIE-LCHlch(72.50, 60.31, 316.03°)
OKLaboklab(78.06% 0.1087 -0.1158)
OKLCHoklch(78.06% 0.159 313.2)
XYZxyz(58.3270, 44.4145, 100.0886)
Luminance0.4441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97FF #BBFF97
analogous
#A797FF #DB97FF #FF97EF
triadic
#DB97FF #FFDB97 #97FFDB
tetradic
#DB97FF #FFA797 #BBFF97 #97EFFF
square
#DB97FF #FFA797 #BBFF97 #97EFFF
split-complementary
#DB97FF #EFFF97 #97FFA7
monochromatic
#B11DFF #C65AFF #DB97FF #F0D4FF #F4E0FF

Accessibility & contrast

On white

2.12
#DB97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#DB97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97FF
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97FF#FFFFFF#000000##000000
##DB97FF1.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#95B4FC
Tritanopia (blue-blind)
#D8A6BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db97ff;
/* rgb */ color: rgb(219, 151, 255);
/* oklch */ color: oklch(78.1% 0.159 313.2);
Tailwind
colors: {
  custom: {
    50: '#e8b7ff',
    500: '#db97ff',
    950: '#000000',
  },
}
SCSS
$custom: #db97ff;
$custom-light: #e8b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db97ff",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 279.231,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78056,
    "c": 0.15885,
    "h": 313.2
  },
  "luminance": 0.44413
}

Semantic roles & 50–950 ramp

primary
#DB97FF
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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