#DB8FFE#DB8FFE

#DB8FFE is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.7% C 0.171 H 314.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#DB8FFE
RGBrgb(219, 143, 254)
HSLhsl(281, 98%, 78%)
HSVhsv(281, 44%, 100%)
CMYKcmyk(13.8%, 43.7%, 0%, 0.4%)
CIE-LABlab(70.78, 47.42, -44.03)
CIE-LCHlch(70.78, 64.71, 317.12°)
OKLaboklab(76.74% 0.1196 -0.122)
OKLCHoklch(76.74% 0.171 314.4)
XYZxyz(56.9224, 41.8621, 98.8283)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8FFE #B2FE8F
analogous
#A38FFE #DB8FFE #FE8FE9
triadic
#DB8FFE #FEDB8F #8FFEDB
tetradic
#DB8FFE #FEA38F #B2FE8F #8FE9FE
square
#DB8FFE #FEA38F #B2FE8F #8FE9FE
split-complementary
#DB8FFE #E9FE8F #8FFEA3
monochromatic
#B416FD #C852FD #DB8FFE #EECCFF #F5E1FF

Accessibility & contrast

On white

2.24
#DB8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#DB8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8FFE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8FFE#FFFFFF#000000##000000
##DB8FFE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#8EAFFB
Tritanopia (blue-blind)
#D99FBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db8ffe;
/* rgb */ color: rgb(219, 143, 254);
/* oklch */ color: oklch(76.7% 0.171 314.4);
Tailwind
colors: {
  custom: {
    50: '#e8b1ff',
    500: '#db8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #db8ffe;
$custom-light: #e8b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ffe",
  "rgb": {
    "r": 219,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 281.081,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76745,
    "c": 0.17086,
    "h": 314.4
  },
  "luminance": 0.41861
}

Semantic roles & 50–950 ramp

primary
#DB8FFE
secondary
#DFF7D4
accent
#E60048
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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