#DB9DF2#DB9DF2

#DB9DF2 is a light, vivid purple. Relative luminance 0.456; OKLCH L 78.5% C 0.134 H 316.6°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#DB9DF2
RGBrgb(219, 157, 242)
HSLhsl(284, 77%, 78%)
HSVhsv(284, 35%, 95%)
CMYKcmyk(9.5%, 35.1%, 0%, 5.1%)
CIE-LABlab(73.28, 37.56, -33.61)
CIE-LCHlch(73.28, 50.40, 318.18°)
OKLaboklab(78.46% 0.0975 -0.0922)
OKLCHoklch(78.46% 0.134 316.6)
XYZxyz(57.2950, 45.5861, 89.7680)
Luminance0.4558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9DF2 #B4F29D
analogous
#B09DF2 #DB9DF2 #F29DDE
triadic
#DB9DF2 #F2DB9D #9DF2DB
tetradic
#DB9DF2 #F2B09D #B4F29D #9DDEF2
square
#DB9DF2 #F2B09D #B4F29D #9DDEF2
split-complementary
#DB9DF2 #DEF29D #9DF2B0
monochromatic
#B331E4 #C767EB #DB9DF2 #EFD3F9 #F5E4FB

Accessibility & contrast

On white

2.08
#DB9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#DB9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9DF2
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9DF2#FFFFFF#000000##000000
##DB9DF21.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#DBA8BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #db9df2;
/* rgb */ color: rgb(219, 157, 242);
/* oklch */ color: oklch(78.5% 0.134 316.6);
Tailwind
colors: {
  custom: {
    50: '#e7bbf6',
    500: '#db9df2',
    950: '#000000',
  },
}
SCSS
$custom: #db9df2;
$custom-light: #e7bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db9df2",
  "rgb": {
    "r": 219,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 283.765,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78464,
    "c": 0.1342,
    "h": 316.6
  },
  "luminance": 0.45585
}

Semantic roles & 50–950 ramp

primary
#DB9DF2
secondary
#DFF3D8
accent
#D90D44
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DB9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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