#DB9FFC#DB9FFC

#DB9FFC is a light, vivid violet. Relative luminance 0.469; OKLCH L 79.2% C 0.142 H 313.0°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#DB9FFC
RGBrgb(219, 159, 252)
HSLhsl(279, 94%, 81%)
HSVhsv(279, 37%, 99%)
CMYKcmyk(13.1%, 36.9%, 0%, 1.2%)
CIE-LABlab(74.12, 38.52, -37.73)
CIE-LCHlch(74.12, 53.92, 315.59°)
OKLaboklab(79.23% 0.0969 -0.104)
OKLCHoklch(79.23% 0.142 313)
XYZxyz(59.1793, 46.8857, 98.0089)
Luminance0.4688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9FFC #C0FC9F
analogous
#AC9FFC #DB9FFC #FC9FEE
triadic
#DB9FFC #FCDB9F #9FFCDB
tetradic
#DB9FFC #FCAC9F #C0FC9F #9FEEFC
square
#DB9FFC #FCAC9F #C0FC9F #9FEEFC
split-complementary
#DB9FFC #EEFC9F #9FFCAC
monochromatic
#AE28F8 #C564FA #DB9FFC #F1DAFE #F4E1FE

Accessibility & contrast

On white

2.02
#DB9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#DB9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9FFC
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9FFC#FFFFFF#000000##000000
##DB9FFC1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#D8ACC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #db9ffc;
/* rgb */ color: rgb(219, 159, 252);
/* oklch */ color: oklch(79.2% 0.142 313.0);
Tailwind
colors: {
  custom: {
    50: '#e7bcfd',
    500: '#db9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #db9ffc;
$custom-light: #e7bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#db9ffc",
  "rgb": {
    "r": 219,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 278.71,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79231,
    "c": 0.14213,
    "h": 313
  },
  "luminance": 0.46885
}

Semantic roles & 50–950 ramp

primary
#DB9FFC
secondary
#E1F6D5
accent
#E60051
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DB9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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