#DB9DFF#DB9DFF

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

Color values

HEX#DB9DFF
RGBrgb(219, 157, 255)
HSLhsl(278, 100%, 81%)
HSVhsv(278, 38%, 100%)
CMYKcmyk(14.1%, 38.4%, 0%, 0%)
CIE-LABlab(73.80, 40.21, -39.85)
CIE-LCHlch(73.80, 56.61, 315.26°)
OKLaboklab(79.03% 0.1003 -0.11)
OKLCHoklch(79.03% 0.149 312.4)
XYZxyz(59.3173, 46.3951, 100.4187)
Luminance0.4639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9DFF #C1FF9D
analogous
#AA9DFF #DB9DFF #FF9DF2
triadic
#DB9DFF #FFDB9D #9DFFDB
tetradic
#DB9DFF #FFAA9D #C1FF9D #9DF2FF
square
#DB9DFF #FFAA9D #C1FF9D #9DF2FF
split-complementary
#DB9DFF #F2FF9D #9DFFAA
monochromatic
#AE23FF #C560FF #DB9DFF #F1DAFF #F4E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB9DFF#FFFFFF#000000##000000
##DB9DFF1.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)
#8BB2FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#D8ABC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9dff;
/* rgb */ color: rgb(219, 157, 255);
/* oklch */ color: oklch(79.0% 0.149 312.4);
Tailwind
colors: {
  custom: {
    50: '#e7bbff',
    500: '#db9dff',
    950: '#000000',
  },
}
SCSS
$custom: #db9dff;
$custom-light: #e7bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#db9dff",
  "rgb": {
    "r": 219,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 277.959,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79033,
    "c": 0.14891,
    "h": 312.4
  },
  "luminance": 0.46394
}

Semantic roles & 50–950 ramp

primary
#DB9DFF
secondary
#E1F7D4
accent
#E60054
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DB9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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