#DB91FC#DB91FC

#DB91FC is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.0% C 0.165 H 314.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#DB91FC
RGBrgb(219, 145, 252)
HSLhsl(281, 95%, 78%)
HSVhsv(281, 42%, 99%)
CMYKcmyk(13.1%, 42.5%, 0%, 1.2%)
CIE-LABlab(71.11, 45.96, -42.43)
CIE-LCHlch(71.11, 62.55, 317.29°)
OKLaboklab(76.96% 0.1165 -0.1174)
OKLCHoklch(76.96% 0.165 314.8)
XYZxyz(56.9067, 42.3405, 97.2514)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB91FC #B2FC91
analogous
#A591FC #DB91FC #FC91E8
triadic
#DB91FC #FCDB91 #91FCDB
tetradic
#DB91FC #FCA591 #B2FC91 #91E8FC
square
#DB91FC #FCA591 #B2FC91 #91E8FC
split-complementary
#DB91FC #E8FC91 #91FCA5
monochromatic
#B41AF9 #C855FA #DB91FC #EECDFE #F5E1FE

Accessibility & contrast

On white

2.22
#DB91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#DB91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB91FC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB91FC#FFFFFF#000000##000000
##DB91FC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#D9A0BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db91fc;
/* rgb */ color: rgb(219, 145, 252);
/* oklch */ color: oklch(77.0% 0.165 314.8);
Tailwind
colors: {
  custom: {
    50: '#e8b3fd',
    500: '#db91fc',
    950: '#000000',
  },
}
SCSS
$custom: #db91fc;
$custom-light: #e8b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db91fc",
  "rgb": {
    "r": 219,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 281.495,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76963,
    "c": 0.1654,
    "h": 314.8
  },
  "luminance": 0.42339
}

Semantic roles & 50–950 ramp

primary
#DB91FC
secondary
#DFF6D5
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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