#DB9EF2#DB9EF2

#DB9EF2 is a light, vivid purple. Relative luminance 0.459; OKLCH L 78.6% C 0.132 H 316.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#DB9EF2
RGBrgb(219, 158, 242)
HSLhsl(284, 76%, 78%)
HSVhsv(284, 35%, 95%)
CMYKcmyk(9.5%, 34.7%, 0%, 5.1%)
CIE-LABlab(73.50, 37.03, -33.27)
CIE-LCHlch(73.50, 49.78, 318.06°)
OKLaboklab(78.63% 0.0961 -0.0912)
OKLCHoklch(78.63% 0.132 316.5)
XYZxyz(57.4649, 45.9259, 89.8246)
Luminance0.4592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9EF2 #B5F29E
analogous
#B19EF2 #DB9EF2 #F29EDF
triadic
#DB9EF2 #F2DB9E #9EF2DB
tetradic
#DB9EF2 #F2B19E #B5F29E #9EDFF2
square
#DB9EF2 #F2B19E #B5F29E #9EDFF2
split-complementary
#DB9EF2 #DFF29E #9EF2B1
monochromatic
#B332E4 #C768EB #DB9EF2 #EFD4F9 #F5E4FB

Accessibility & contrast

On white

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

On black

10.18
#DB9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9EF2
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9EF2#FFFFFF#000000##000000
##DB9EF21.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#DAA8BD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9ef2;
/* rgb */ color: rgb(219, 158, 242);
/* oklch */ color: oklch(78.6% 0.132 316.5);
Tailwind
colors: {
  custom: {
    50: '#e7bbf6',
    500: '#db9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #db9ef2;
$custom-light: #e7bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db9ef2",
  "rgb": {
    "r": 219,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 283.571,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78631,
    "c": 0.13248,
    "h": 316.5
  },
  "luminance": 0.45925
}

Semantic roles & 50–950 ramp

primary
#DB9EF2
secondary
#DFF3D8
accent
#D90D45
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DB9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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