#DB9FEF#DB9FEF

#DB9FEF is a light, vivid purple. Relative luminance 0.461; OKLCH L 78.7% C 0.127 H 317.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#DB9FEF
RGBrgb(219, 159, 239)
HSLhsl(285, 71%, 78%)
HSVhsv(285, 33%, 94%)
CMYKcmyk(8.4%, 33.5%, 0%, 6.3%)
CIE-LABlab(73.60, 35.89, -31.47)
CIE-LCHlch(73.60, 47.74, 318.75°)
OKLaboklab(78.67% 0.0939 -0.0861)
OKLCHoklch(78.67% 0.127 317.5)
XYZxyz(57.1893, 46.0897, 87.5282)
Luminance0.4609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9FEF #B3EF9F
analogous
#B39FEF #DB9FEF #EF9FDB
triadic
#DB9FEF #EFDB9F #9FEFDB
tetradic
#DB9FEF #EFB39F #B3EF9F #9FDBEF
square
#DB9FEF #EFB39F #B3EF9F #9FDBEF
split-complementary
#DB9FEF #DBEF9F #9FEFB3
monochromatic
#B436DE #C76BE6 #DB9FEF #EFD3F8 #F5E5FB

Accessibility & contrast

On white

2.06
#DB9FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#DB9FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9FEF
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9FEF#FFFFFF#000000##000000
##DB9FEF1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#A2B7EC
Tritanopia (blue-blind)
#DBA9BC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9fef;
/* rgb */ color: rgb(219, 159, 239);
/* oklch */ color: oklch(78.7% 0.127 317.5);
Tailwind
colors: {
  custom: {
    50: '#e7bcf4',
    500: '#db9fef',
    950: '#000000',
  },
}
SCSS
$custom: #db9fef;
$custom-light: #e7bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#db9fef",
  "rgb": {
    "r": 219,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78674,
    "c": 0.12743,
    "h": 317.5
  },
  "luminance": 0.46088
}

Semantic roles & 50–950 ramp

primary
#DB9FEF
secondary
#DFF2D9
accent
#D31242
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DB9FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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