#DBA2FD#DBA2FD

#DBA2FD is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.8% C 0.138 H 312.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#DBA2FD
RGBrgb(219, 162, 253)
HSLhsl(278, 96%, 81%)
HSVhsv(278, 36%, 99%)
CMYKcmyk(13.4%, 36%, 0%, 0.8%)
CIE-LABlab(74.82, 37.12, -37.18)
CIE-LCHlch(74.82, 52.54, 314.95°)
OKLaboklab(79.78% 0.0929 -0.1024)
OKLCHoklch(79.78% 0.138 312.2)
XYZxyz(59.8604, 47.9936, 99.0197)
Luminance0.4799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBA2FD #C4FDA2
analogous
#AEA2FD #DBA2FD #FDA2F2
triadic
#DBA2FD #FDDBA2 #A2FDDB
tetradic
#DBA2FD #FDAEA2 #C4FDA2 #A2F2FD
square
#DBA2FD #FDAEA2 #C4FDA2 #A2F2FD
split-complementary
#DBA2FD #F2FDA2 #A2FDAE
monochromatic
#AD2AFA #C466FC #DBA2FD #F2DEFE #F3E1FE

Accessibility & contrast

On white

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

On black

10.60
#DBA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBA2FD
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBA2FD#FFFFFF#000000##000000
##DBA2FD1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#9FB9FA
Tritanopia (blue-blind)
#D8AEC4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dba2fd;
/* rgb */ color: rgb(219, 162, 253);
/* oklch */ color: oklch(79.8% 0.138 312.2);
Tailwind
colors: {
  custom: {
    50: '#e7befe',
    500: '#dba2fd',
    950: '#000000',
  },
}
SCSS
$custom: #dba2fd;
$custom-light: #e7befe;
$custom-dark: #000000;
JSON
{
  "hex": "#dba2fd",
  "rgb": {
    "r": 219,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 277.582,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79778,
    "c": 0.13825,
    "h": 312.2
  },
  "luminance": 0.47993
}

Semantic roles & 50–950 ramp

primary
#DBA2FD
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DBA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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