#DB91F7#DB91F7

#DB91F7 is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.7% C 0.160 H 316.3°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#DB91F7
RGBrgb(219, 145, 247)
HSLhsl(284, 86%, 77%)
HSVhsv(284, 41%, 97%)
CMYKcmyk(11.3%, 41.3%, 0%, 3.1%)
CIE-LABlab(70.89, 44.95, -40.04)
CIE-LCHlch(70.89, 60.20, 318.31°)
OKLaboklab(76.73% 0.1156 -0.1105)
OKLCHoklch(76.73% 0.16 316.3)
XYZxyz(56.1248, 42.0278, 93.1333)
Luminance0.4203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB91F7 #ADF791
analogous
#A891F7 #DB91F7 #F791E0
triadic
#DB91F7 #F7DB91 #91F7DB
tetradic
#DB91F7 #F7A891 #ADF791 #91E0F7
square
#DB91F7 #F7A891 #ADF791 #91E0F7
split-complementary
#DB91F7 #E0F791 #91F7A8
monochromatic
#B61FEF #C858F3 #DB91F7 #EECAFB #F6E2FD

Accessibility & contrast

On white

2.23
#DB91F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#DB91F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB91F7
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB91F7#FFFFFF#000000##000000
##DB91F71.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#93B0F4
Tritanopia (blue-blind)
#DA9FB8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db91f7;
/* rgb */ color: rgb(219, 145, 247);
/* oklch */ color: oklch(76.7% 0.160 316.3);
Tailwind
colors: {
  custom: {
    50: '#e8b2fa',
    500: '#db91f7',
    950: '#000000',
  },
}
SCSS
$custom: #db91f7;
$custom-light: #e8b2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db91f7",
  "rgb": {
    "r": 219,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 283.529,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76731,
    "c": 0.15996,
    "h": 316.3
  },
  "luminance": 0.42026
}

Semantic roles & 50–950 ramp

primary
#DB91F7
secondary
#DFF5D6
accent
#E30340
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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