#DBA2EC#DBA2EC

#DBA2EC is a light, moderate purple. Relative luminance 0.470; OKLCH L 79.1% C 0.119 H 318.3°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#DBA2EC
RGBrgb(219, 162, 236)
HSLhsl(286, 66%, 78%)
HSVhsv(286, 31%, 93%)
CMYKcmyk(7.2%, 31.4%, 0%, 7.5%)
CIE-LABlab(74.16, 33.68, -28.98)
CIE-LCHlch(74.16, 44.43, 319.29°)
OKLaboklab(79.06% 0.0888 -0.0791)
OKLCHoklch(79.06% 0.119 318.3)
XYZxyz(57.2720, 46.9582, 85.3875)
Luminance0.4696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBA2EC #B3ECA2
analogous
#B6A2EC #DBA2EC #ECA2D8
triadic
#DBA2EC #ECDBA2 #A2ECDB
tetradic
#DBA2EC #ECB6A2 #B3ECA2 #A2D8EC
square
#DBA2EC #ECB6A2 #B3ECA2 #A2D8EC
split-complementary
#DBA2EC #D8ECA2 #A2ECB6
monochromatic
#B43CD7 #C76FE2 #DBA2EC #EFD5F6 #F5E6FA

Accessibility & contrast

On white

2.02
#DBA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#DBA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBA2EC
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBA2EC#FFFFFF#000000##000000
##DBA2EC1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B3EF
Deuteranopia (green-blind)
#A6B8EA
Tritanopia (blue-blind)
#DBAABD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dba2ec;
/* rgb */ color: rgb(219, 162, 236);
/* oklch */ color: oklch(79.1% 0.119 318.3);
Tailwind
colors: {
  custom: {
    50: '#e7bef2',
    500: '#dba2ec',
    950: '#000000',
  },
}
SCSS
$custom: #dba2ec;
$custom-light: #e7bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#dba2ec",
  "rgb": {
    "r": 219,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 286.216,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79061,
    "c": 0.11891,
    "h": 318.3
  },
  "luminance": 0.46957
}

Semantic roles & 50–950 ramp

primary
#DBA2EC
secondary
#DFF1DA
accent
#CE1841
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DBA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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