#DBA2FE#DBA2FE

#DBA2FE is a light, vivid violet. Relative luminance 0.481; OKLCH L 79.8% C 0.139 H 311.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#DBA2FE
RGBrgb(219, 162, 254)
HSLhsl(277, 98%, 82%)
HSVhsv(277, 36%, 100%)
CMYKcmyk(13.8%, 36.2%, 0%, 0.4%)
CIE-LABlab(74.86, 37.32, -37.66)
CIE-LCHlch(74.86, 53.02, 314.74°)
OKLaboklab(79.82% 0.0931 -0.1038)
OKLCHoklch(79.82% 0.139 311.9)
XYZxyz(60.0201, 48.0574, 99.8609)
Luminance0.4806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBA2FE #C5FEA2
analogous
#ADA2FE #DBA2FE #FEA2F3
triadic
#DBA2FE #FEDBA2 #A2FEDB
tetradic
#DBA2FE #FEADA2 #C5FEA2 #A2F3FE
square
#DBA2FE #FEADA2 #C5FEA2 #A2F3FE
split-complementary
#DBA2FE #F3FEA2 #A2FEAD
monochromatic
#AC29FD #C465FD #DBA2FE #F2DFFF #F3E1FF

Accessibility & contrast

On white

1.98
#DBA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#DBA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBA2FE
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBA2FE#FFFFFF#000000##000000
##DBA2FE1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#9FBAFB
Tritanopia (blue-blind)
#D8AFC4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dba2fe;
/* rgb */ color: rgb(219, 162, 254);
/* oklch */ color: oklch(79.8% 0.139 311.9);
Tailwind
colors: {
  custom: {
    50: '#e7beff',
    500: '#dba2fe',
    950: '#000000',
  },
}
SCSS
$custom: #dba2fe;
$custom-light: #e7beff;
$custom-dark: #000000;
JSON
{
  "hex": "#dba2fe",
  "rgb": {
    "r": 219,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 277.174,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79821,
    "c": 0.13941,
    "h": 311.9
  },
  "luminance": 0.48056
}

Semantic roles & 50–950 ramp

primary
#DBA2FE
secondary
#E1F7D4
accent
#E60057
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DBA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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