#DBA7FE#DBA7FE

#DBA7FE is a light, vivid violet. Relative luminance 0.499; OKLCH L 80.7% C 0.131 H 311.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#DBA7FE
RGBrgb(219, 167, 254)
HSLhsl(276, 98%, 83%)
HSVhsv(276, 34%, 100%)
CMYKcmyk(13.8%, 34.3%, 0%, 0.4%)
CIE-LABlab(75.98, 34.63, -35.92)
CIE-LCHlch(75.98, 49.90, 313.95°)
OKLaboklab(80.67% 0.086 -0.0989)
OKLCHoklch(80.67% 0.131 311)
XYZxyz(60.9184, 49.8541, 100.1603)
Luminance0.4985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBA7FE #CAFEA7
analogous
#AFA7FE #DBA7FE #FEA7F6
triadic
#DBA7FE #FEDBA7 #A7FEDB
tetradic
#DBA7FE #FEAFA7 #CAFEA7 #A7F6FE
square
#DBA7FE #FEAFA7 #CAFEA7 #A7F6FE
split-complementary
#DBA7FE #F6FEA7 #A7FEAF
monochromatic
#A92EFD #C26AFD #DBA7FE #F3E1FF #F3E1FF

Accessibility & contrast

On white

1.91
#DBA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#DBA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBA7FE
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBA7FE#FFFFFF#000000##000000
##DBA7FE1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#A3BCFB
Tritanopia (blue-blind)
#D7B3C7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dba7fe;
/* rgb */ color: rgb(219, 167, 254);
/* oklch */ color: oklch(80.7% 0.131 311.0);
Tailwind
colors: {
  custom: {
    50: '#e7c1ff',
    500: '#dba7fe',
    950: '#000000',
  },
}
SCSS
$custom: #dba7fe;
$custom-light: #e7c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dba7fe",
  "rgb": {
    "r": 219,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 275.862,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.8067,
    "c": 0.13103,
    "h": 311
  },
  "luminance": 0.49853
}

Semantic roles & 50–950 ramp

primary
#DBA7FE
secondary
#E2F7D4
accent
#E6005C
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DBA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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