#DBA2FC#DBA2FC

#DBA2FC is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.7% C 0.137 H 312.5°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#DBA2FC
RGBrgb(219, 162, 252)
HSLhsl(278, 94%, 81%)
HSVhsv(278, 36%, 99%)
CMYKcmyk(13.1%, 35.7%, 0%, 1.2%)
CIE-LABlab(74.78, 36.91, -36.70)
CIE-LCHlch(74.78, 52.05, 315.16°)
OKLaboklab(79.73% 0.0926 -0.1011)
OKLCHoklch(79.73% 0.137 312.5)
XYZxyz(59.7015, 47.9300, 98.1830)
Luminance0.4793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBA2FC #C3FCA2
analogous
#AEA2FC #DBA2FC #FCA2F0
triadic
#DBA2FC #FCDBA2 #A2FCDB
tetradic
#DBA2FC #FCAEA2 #C3FCA2 #A2F0FC
square
#DBA2FC #FCAEA2 #C3FCA2 #A2F0FC
split-complementary
#DBA2FC #F0FCA2 #A2FCAE
monochromatic
#AD2BF8 #C467FA #DBA2FC #F2DDFE #F4E1FE

Accessibility & contrast

On white

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

On black

10.59
#DBA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBA2FC
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBA2FC#FFFFFF#000000##000000
##DBA2FC1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dba2fc;
/* rgb */ color: rgb(219, 162, 252);
/* oklch */ color: oklch(79.7% 0.137 312.5);
Tailwind
colors: {
  custom: {
    50: '#e7befd',
    500: '#dba2fc',
    950: '#000000',
  },
}
SCSS
$custom: #dba2fc;
$custom-light: #e7befd;
$custom-dark: #000000;
JSON
{
  "hex": "#dba2fc",
  "rgb": {
    "r": 219,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 278,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79734,
    "c": 0.13709,
    "h": 312.5
  },
  "luminance": 0.47929
}

Semantic roles & 50–950 ramp

primary
#DBA2FC
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DBA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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