#DB9CFB#DB9CFB

#DB9CFB is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.7% C 0.146 H 313.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#DB9CFB
RGBrgb(219, 156, 251)
HSLhsl(280, 92%, 80%)
HSVhsv(280, 38%, 98%)
CMYKcmyk(12.7%, 37.8%, 0%, 1.6%)
CIE-LABlab(73.42, 39.92, -38.28)
CIE-LCHlch(73.42, 55.31, 316.20°)
OKLaboklab(78.69% 0.1009 -0.1055)
OKLCHoklch(78.69% 0.146 313.7)
XYZxyz(58.5116, 45.8032, 97.0067)
Luminance0.4580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9CFB #BCFB9C
analogous
#AB9CFB #DB9CFB #FB9CEC
triadic
#DB9CFB #FBDB9C #9CFBDB
tetradic
#DB9CFB #FBAB9C #BCFB9C #9CECFB
square
#DB9CFB #FBAB9C #BCFB9C #9CECFB
split-complementary
#DB9CFB #ECFB9C #9CFBAB
monochromatic
#B026F6 #C661F9 #DB9CFB #F0D7FD #F4E2FE

Accessibility & contrast

On white

2.07
#DB9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#DB9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9CFB
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9CFB#FFFFFF#000000##000000
##DB9CFB1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#D9A9C0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #db9cfb;
/* rgb */ color: rgb(219, 156, 251);
/* oklch */ color: oklch(78.7% 0.146 313.7);
Tailwind
colors: {
  custom: {
    50: '#e7bafd',
    500: '#db9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #db9cfb;
$custom-light: #e7bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#db9cfb",
  "rgb": {
    "r": 219,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 279.789,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78689,
    "c": 0.14601,
    "h": 313.7
  },
  "luminance": 0.45802
}

Semantic roles & 50–950 ramp

primary
#DB9CFB
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DB9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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