#DBA2FA#DBA2FA

#DBA2FA is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.6% C 0.135 H 313.2°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#DBA2FA
RGBrgb(219, 162, 250)
HSLhsl(279, 90%, 81%)
HSVhsv(279, 35%, 98%)
CMYKcmyk(12.4%, 35.2%, 0%, 2%)
CIE-LABlab(74.70, 36.50, -35.74)
CIE-LCHlch(74.70, 51.09, 315.60°)
OKLaboklab(79.65% 0.0922 -0.0983)
OKLCHoklch(79.65% 0.135 313.2)
XYZxyz(59.3862, 47.8039, 96.5226)
Luminance0.4780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBA2FA #C1FAA2
analogous
#AFA2FA #DBA2FA #FAA2ED
triadic
#DBA2FA #FADBA2 #A2FADB
tetradic
#DBA2FA #FAAFA2 #C1FAA2 #A2EDFA
square
#DBA2FA #FAAFA2 #C1FAA2 #A2EDFA
split-complementary
#DBA2FA #EDFAA2 #A2FAAF
monochromatic
#AE2EF4 #C568F7 #DBA2FA #F1DCFD #F4E2FD

Accessibility & contrast

On white

1.99
#DBA2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#DBA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBA2FA
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBA2FA#FFFFFF#000000##000000
##DBA2FA1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FD
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#D9AEC3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dba2fa;
/* rgb */ color: rgb(219, 162, 250);
/* oklch */ color: oklch(79.6% 0.135 313.2);
Tailwind
colors: {
  custom: {
    50: '#e7befc',
    500: '#dba2fa',
    950: '#000000',
  },
}
SCSS
$custom: #dba2fa;
$custom-light: #e7befc;
$custom-dark: #000000;
JSON
{
  "hex": "#dba2fa",
  "rgb": {
    "r": 219,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 278.864,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79647,
    "c": 0.13477,
    "h": 313.2
  },
  "luminance": 0.47803
}

Semantic roles & 50–950 ramp

primary
#DBA2FA
secondary
#E1F6D5
accent
#E60051
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DBA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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