#DB7AEC#DB7AEC

#DB7AEC is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.8% C 0.186 H 321.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DB7AEC
RGBrgb(219, 122, 236)
HSLhsl(291, 75%, 70%)
HSVhsv(291, 48%, 93%)
CMYKcmyk(7.2%, 48.3%, 0%, 7.5%)
CIE-LABlab(65.78, 54.64, -42.00)
CIE-LCHlch(65.78, 68.91, 322.45°)
OKLaboklab(72.76% 0.1457 -0.116)
OKLCHoklch(72.76% 0.186 321.5)
XYZxyz(51.3116, 35.0374, 83.4007)
Luminance0.3503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AEC #8BEC7A
analogous
#A27AEC #DB7AEC #EC7AC4
triadic
#DB7AEC #ECDB7A #7AECDB
tetradic
#DB7AEC #ECA27A #8BEC7A #7AC4EC
square
#DB7AEC #ECA27A #8BEC7A #7AC4EC
split-complementary
#DB7AEC #C4EC7A #7AECA2
monochromatic
#B41DCE #CD44E4 #DB7AEC #E9B0F4 #F8E4FB

Accessibility & contrast

On white

2.62
#DB7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DB7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AEC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AEC#FFFFFF#000000##000000
##DB7AEC1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#DD89A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7aec;
/* rgb */ color: rgb(219, 122, 236);
/* oklch */ color: oklch(72.8% 0.186 321.5);
Tailwind
colors: {
  custom: {
    50: '#e8a3f2',
    500: '#db7aec',
    950: '#000000',
  },
}
SCSS
$custom: #db7aec;
$custom-light: #e8a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db7aec",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 291.053,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7276,
    "c": 0.18625,
    "h": 321.5
  },
  "luminance": 0.35035
}

Semantic roles & 50–950 ramp

primary
#DB7AEC
secondary
#D6F1D1
accent
#D70E2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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