#DB9EFA#DB9EFA

#DB9EFA is a light, vivid violet. Relative luminance 0.464; OKLCH L 79.0% C 0.142 H 313.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#DB9EFA
RGBrgb(219, 158, 250)
HSLhsl(280, 90%, 80%)
HSVhsv(280, 37%, 98%)
CMYKcmyk(12.4%, 36.8%, 0%, 2%)
CIE-LABlab(73.82, 38.65, -37.12)
CIE-LCHlch(73.82, 53.58, 316.15°)
OKLaboklab(78.98% 0.0979 -0.1022)
OKLCHoklch(78.98% 0.142 313.8)
XYZxyz(58.6928, 46.4171, 96.2915)
Luminance0.4642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9EFA #BDFA9E
analogous
#AD9EFA #DB9EFA #FA9EEB
triadic
#DB9EFA #FADB9E #9EFADB
tetradic
#DB9EFA #FAAD9E #BDFA9E #9EEBFA
square
#DB9EFA #FAAD9E #BDFA9E #9EEBFA
split-complementary
#DB9EFA #EBFA9E #9EFAAD
monochromatic
#B02AF4 #C564F7 #DB9EFA #F1D8FD #F4E2FD

Accessibility & contrast

On white

2.04
#DB9EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#DB9EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9EFA
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9EFA#FFFFFF#000000##000000
##DB9EFA1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#9DB7F7
Tritanopia (blue-blind)
#D9AAC1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9efa;
/* rgb */ color: rgb(219, 158, 250);
/* oklch */ color: oklch(79.0% 0.142 313.8);
Tailwind
colors: {
  custom: {
    50: '#e7bbfc',
    500: '#db9efa',
    950: '#000000',
  },
}
SCSS
$custom: #db9efa;
$custom-light: #e7bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#db9efa",
  "rgb": {
    "r": 219,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 279.783,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.78977,
    "c": 0.14152,
    "h": 313.8
  },
  "luminance": 0.46416
}

Semantic roles & 50–950 ramp

primary
#DB9EFA
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DB9EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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