#DB8FEF#DB8FEF

#DB8FEF is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.1% C 0.155 H 319.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#DB8FEF
RGBrgb(219, 143, 239)
HSLhsl(288, 75%, 75%)
HSVhsv(288, 40%, 94%)
CMYKcmyk(8.4%, 40.2%, 0%, 6.3%)
CIE-LABlab(70.13, 44.42, -36.85)
CIE-LCHlch(70.13, 57.71, 320.32°)
OKLaboklab(76.05% 0.1169 -0.1013)
OKLCHoklch(76.05% 0.155 319.1)
XYZxyz(54.6138, 40.9387, 86.6697)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8FEF #A3EF8F
analogous
#AB8FEF #DB8FEF #EF8FD3
triadic
#DB8FEF #EFDB8F #8FEFDB
tetradic
#DB8FEF #EFAB8F #A3EF8F #8FD3EF
square
#DB8FEF #EFAB8F #A3EF8F #8FD3EF
split-complementary
#DB8FEF #D3EF8F #8FEFAB
monochromatic
#B924E0 #CA59E7 #DB8FEF #ECC5F7 #F6E4FB

Accessibility & contrast

On white

2.29
#DB8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#DB8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8FEF
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8FEF#FFFFFF#000000##000000
##DB8FEF1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#DC9BB4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8fef;
/* rgb */ color: rgb(219, 143, 239);
/* oklch */ color: oklch(76.1% 0.155 319.1);
Tailwind
colors: {
  custom: {
    50: '#e7b1f4',
    500: '#db8fef',
    950: '#000000',
  },
}
SCSS
$custom: #db8fef;
$custom-light: #e7b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db8fef",
  "rgb": {
    "r": 219,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 287.5,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76053,
    "c": 0.15474,
    "h": 319.1
  },
  "luminance": 0.40937
}

Semantic roles & 50–950 ramp

primary
#DB8FEF
secondary
#DEF3D8
accent
#D70E38
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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