#DB9CFE#DB9CFE

#DB9CFE is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.8% C 0.149 H 312.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#DB9CFE
RGBrgb(219, 156, 254)
HSLhsl(279, 98%, 80%)
HSVhsv(279, 39%, 100%)
CMYKcmyk(13.8%, 38.6%, 0%, 0.4%)
CIE-LABlab(73.54, 40.54, -39.71)
CIE-LCHlch(73.54, 56.75, 315.59°)
OKLaboklab(78.82% 0.1015 -0.1096)
OKLCHoklch(78.82% 0.149 312.8)
XYZxyz(58.9883, 45.9939, 99.5170)
Luminance0.4599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9CFE #BFFE9C
analogous
#AA9CFE #DB9CFE #FE9CF0
triadic
#DB9CFE #FEDB9C #9CFEDB
tetradic
#DB9CFE #FEAA9C #BFFE9C #9CF0FE
square
#DB9CFE #FEAA9C #BFFE9C #9CF0FE
split-complementary
#DB9CFE #F0FE9C #9CFEAA
monochromatic
#AF23FD #C55FFD #DB9CFE #F1D9FF #F4E1FF

Accessibility & contrast

On white

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

On black

10.20
#DB9CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9CFE
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9CFE#FFFFFF#000000##000000
##DB9CFE1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#D8AAC1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9cfe;
/* rgb */ color: rgb(219, 156, 254);
/* oklch */ color: oklch(78.8% 0.149 312.8);
Tailwind
colors: {
  custom: {
    50: '#e7baff',
    500: '#db9cfe',
    950: '#000000',
  },
}
SCSS
$custom: #db9cfe;
$custom-light: #e7baff;
$custom-dark: #000000;
JSON
{
  "hex": "#db9cfe",
  "rgb": {
    "r": 219,
    "g": 156,
    "b": 254
  },
  "hsl": {
    "h": 278.571,
    "s": 98,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78824,
    "c": 0.14943,
    "h": 312.8
  },
  "luminance": 0.45993
}

Semantic roles & 50–950 ramp

primary
#DB9CFE
secondary
#E1F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DB9CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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