#DB9EFD#DB9EFD

#DB9EFD is a light, vivid violet. Relative luminance 0.466; OKLCH L 79.1% C 0.145 H 312.8°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#DB9EFD
RGBrgb(219, 158, 253)
HSLhsl(279, 96%, 81%)
HSVhsv(279, 38%, 99%)
CMYKcmyk(13.4%, 37.5%, 0%, 0.8%)
CIE-LABlab(73.94, 39.26, -38.55)
CIE-LCHlch(73.94, 55.03, 315.52°)
OKLaboklab(79.11% 0.0985 -0.1063)
OKLCHoklch(79.11% 0.145 312.8)
XYZxyz(59.1669, 46.6067, 98.7886)
Luminance0.4661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9EFD #C0FD9E
analogous
#AB9EFD #DB9EFD #FD9EF0
triadic
#DB9EFD #FDDB9E #9EFDDB
tetradic
#DB9EFD #FDAB9E #C0FD9E #9EF0FD
square
#DB9EFD #FDAB9E #C0FD9E #9EF0FD
split-complementary
#DB9EFD #F0FD9E #9EFDAB
monochromatic
#AE26FB #C562FC #DB9EFD #F1DAFE #F4E1FE

Accessibility & contrast

On white

2.03
#DB9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#DB9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9EFD
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9EFD#FFFFFF#000000##000000
##DB9EFD1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#9CB7FA
Tritanopia (blue-blind)
#D8ABC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #db9efd;
/* rgb */ color: rgb(219, 158, 253);
/* oklch */ color: oklch(79.1% 0.145 312.8);
Tailwind
colors: {
  custom: {
    50: '#e7bbfe',
    500: '#db9efd',
    950: '#000000',
  },
}
SCSS
$custom: #db9efd;
$custom-light: #e7bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#db9efd",
  "rgb": {
    "r": 219,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 278.526,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79109,
    "c": 0.14495,
    "h": 312.8
  },
  "luminance": 0.46606
}

Semantic roles & 50–950 ramp

primary
#DB9EFD
secondary
#E1F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DB9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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