#DB9EFB#DB9EFB

#DB9EFB is a light, vivid violet. Relative luminance 0.465; OKLCH L 79.0% C 0.143 H 313.4°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#DB9EFB
RGBrgb(219, 158, 251)
HSLhsl(279, 92%, 80%)
HSVhsv(279, 37%, 98%)
CMYKcmyk(12.7%, 37.1%, 0%, 1.6%)
CIE-LABlab(73.86, 38.85, -37.60)
CIE-LCHlch(73.86, 54.06, 315.94°)
OKLaboklab(79.02% 0.0981 -0.1036)
OKLCHoklch(79.02% 0.143 313.4)
XYZxyz(58.8500, 46.4799, 97.1194)
Luminance0.4648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9EFB #BEFB9E
analogous
#AC9EFB #DB9EFB #FB9EEC
triadic
#DB9EFB #FBDB9E #9EFBDB
tetradic
#DB9EFB #FBAC9E #BEFB9E #9EECFB
square
#DB9EFB #FBAC9E #BEFB9E #9EECFB
split-complementary
#DB9EFB #ECFB9E #9EFBAC
monochromatic
#AF28F6 #C563F9 #DB9EFB #F1D9FD #F4E2FE

Accessibility & contrast

On white

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

On black

10.30
#DB9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9EFB
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9EFB#FFFFFF#000000##000000
##DB9EFB1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#D9ABC1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9efb;
/* rgb */ color: rgb(219, 158, 251);
/* oklch */ color: oklch(79.0% 0.143 313.4);
Tailwind
colors: {
  custom: {
    50: '#e7bbfd',
    500: '#db9efb',
    950: '#000000',
  },
}
SCSS
$custom: #db9efb;
$custom-light: #e7bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#db9efb",
  "rgb": {
    "r": 219,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 279.355,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79021,
    "c": 0.14266,
    "h": 313.4
  },
  "luminance": 0.46479
}

Semantic roles & 50–950 ramp

primary
#DB9EFB
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DB9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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