#DB97F2#DB97F2

#DB97F2 is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.5% C 0.144 H 317.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#DB97F2
RGBrgb(219, 151, 242)
HSLhsl(285, 78%, 77%)
HSVhsv(285, 38%, 95%)
CMYKcmyk(9.5%, 37.6%, 0%, 5.1%)
CIE-LABlab(71.96, 40.77, -35.64)
CIE-LCHlch(71.96, 54.15, 318.84°)
OKLaboklab(77.47% 0.1061 -0.098)
OKLCHoklch(77.47% 0.144 317.3)
XYZxyz(56.3047, 43.6056, 89.4379)
Luminance0.4360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97F2 #AEF297
analogous
#AE97F2 #DB97F2 #F297DC
triadic
#DB97F2 #F2DB97 #97F2DB
tetradic
#DB97F2 #F2AE97 #AEF297 #97DCF2
square
#DB97F2 #F2AE97 #AEF297 #97DCF2
split-complementary
#DB97F2 #DCF297 #97F2AE
monochromatic
#B52AE4 #C861EB #DB97F2 #EECDF9 #F6E4FC

Accessibility & contrast

On white

2.16
#DB97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#DB97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97F2
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97F2#FFFFFF#000000##000000
##DB97F21.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#9AB3EF
Tritanopia (blue-blind)
#DBA2B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db97f2;
/* rgb */ color: rgb(219, 151, 242);
/* oklch */ color: oklch(77.5% 0.144 317.3);
Tailwind
colors: {
  custom: {
    50: '#e7b6f6',
    500: '#db97f2',
    950: '#000000',
  },
}
SCSS
$custom: #db97f2;
$custom-light: #e7b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db97f2",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 284.835,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77472,
    "c": 0.14442,
    "h": 317.3
  },
  "luminance": 0.43604
}

Semantic roles & 50–950 ramp

primary
#DB97F2
secondary
#DFF3D8
accent
#DA0B40
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DB97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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