#DB9FF2#DB9FF2

#DB9FF2 is a light, vivid purple. Relative luminance 0.463; OKLCH L 78.8% C 0.131 H 316.3°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#DB9FF2
RGBrgb(219, 159, 242)
HSLhsl(283, 76%, 79%)
HSVhsv(283, 34%, 95%)
CMYKcmyk(9.5%, 34.3%, 0%, 5.1%)
CIE-LABlab(73.72, 36.49, -32.93)
CIE-LCHlch(73.72, 49.15, 317.94°)
OKLaboklab(78.8% 0.0946 -0.0903)
OKLCHoklch(78.8% 0.131 316.3)
XYZxyz(57.6362, 46.2684, 89.8817)
Luminance0.4627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9FF2 #B6F29F
analogous
#B19FF2 #DB9FF2 #F29FE0
triadic
#DB9FF2 #F2DB9F #9FF2DB
tetradic
#DB9FF2 #F2B19F #B6F29F #9FE0F2
square
#DB9FF2 #F2B19F #B6F29F #9FE0F2
split-complementary
#DB9FF2 #E0F29F #9FF2B1
monochromatic
#B333E3 #C769EB #DB9FF2 #EFD5F9 #F5E4FB

Accessibility & contrast

On white

2.05
#DB9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#DB9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9FF2
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9FF2#FFFFFF#000000##000000
##DB9FF21.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B1F5
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#DAA9BE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9ff2;
/* rgb */ color: rgb(219, 159, 242);
/* oklch */ color: oklch(78.8% 0.131 316.3);
Tailwind
colors: {
  custom: {
    50: '#e7bcf6',
    500: '#db9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #db9ff2;
$custom-light: #e7bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db9ff2",
  "rgb": {
    "r": 219,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 283.373,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.788,
    "c": 0.13077,
    "h": 316.3
  },
  "luminance": 0.46267
}

Semantic roles & 50–950 ramp

primary
#DB9FF2
secondary
#DFF3D8
accent
#D80D45
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DB9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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