#DB9CFA#DB9CFA

#DB9CFA is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.6% C 0.145 H 314.0°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#DB9CFA
RGBrgb(219, 156, 250)
HSLhsl(280, 90%, 80%)
HSVhsv(280, 38%, 98%)
CMYKcmyk(12.4%, 37.6%, 0%, 2%)
CIE-LABlab(73.38, 39.72, -37.80)
CIE-LCHlch(73.38, 54.83, 316.42°)
OKLaboklab(78.65% 0.1007 -0.1042)
OKLCHoklch(78.65% 0.145 314)
XYZxyz(58.3544, 45.7403, 96.1787)
Luminance0.4574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9CFA #BBFA9C
analogous
#AC9CFA #DB9CFA #FA9CEA
triadic
#DB9CFA #FADB9C #9CFADB
tetradic
#DB9CFA #FAAC9C #BBFA9C #9CEAFA
square
#DB9CFA #FAAC9C #BBFA9C #9CEAFA
split-complementary
#DB9CFA #EAFA9C #9CFAAC
monochromatic
#B127F4 #C662F7 #DB9CFA #F0D6FD #F4E2FE

Accessibility & contrast

On white

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

On black

10.15
#DB9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9CFA
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9CFA#FFFFFF#000000##000000
##DB9CFA1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#D9A9BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #db9cfa;
/* rgb */ color: rgb(219, 156, 250);
/* oklch */ color: oklch(78.6% 0.145 314.0);
Tailwind
colors: {
  custom: {
    50: '#e7bafc',
    500: '#db9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #db9cfa;
$custom-light: #e7bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#db9cfa",
  "rgb": {
    "r": 219,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 280.213,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78645,
    "c": 0.14488,
    "h": 314
  },
  "luminance": 0.45739
}

Semantic roles & 50–950 ramp

primary
#DB9CFA
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DB9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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