#DB8FF7#DB8FF7

#DB8FF7 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.4% C 0.163 H 316.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#DB8FF7
RGBrgb(219, 143, 247)
HSLhsl(284, 87%, 76%)
HSVhsv(284, 42%, 97%)
CMYKcmyk(11.3%, 42.1%, 0%, 3.1%)
CIE-LABlab(70.47, 46.00, -40.69)
CIE-LCHlch(70.47, 61.42, 318.50°)
OKLaboklab(76.42% 0.1184 -0.1124)
OKLCHoklch(76.42% 0.163 316.5)
XYZxyz(55.8219, 41.4219, 93.0323)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8FF7 #ABF78F
analogous
#A78FF7 #DB8FF7 #F78FDF
triadic
#DB8FF7 #F7DB8F #8FF7DB
tetradic
#DB8FF7 #F7A78F #ABF78F #8FDFF7
square
#DB8FF7 #F7A78F #ABF78F #8FDFF7
split-complementary
#DB8FF7 #DFF78F #8FF7A7
monochromatic
#B61DEF #C956F3 #DB8FF7 #EDC8FB #F6E2FD

Accessibility & contrast

On white

2.26
#DB8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#DB8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8FF7
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8FF7#FFFFFF#000000##000000
##DB8FF71.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FB
Deuteranopia (green-blind)
#91AFF4
Tritanopia (blue-blind)
#DA9DB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #db8ff7;
/* rgb */ color: rgb(219, 143, 247);
/* oklch */ color: oklch(76.4% 0.163 316.5);
Tailwind
colors: {
  custom: {
    50: '#e8b1fa',
    500: '#db8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #db8ff7;
$custom-light: #e8b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ff7",
  "rgb": {
    "r": 219,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 283.846,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76417,
    "c": 0.16328,
    "h": 316.5
  },
  "luminance": 0.4142
}

Semantic roles & 50–950 ramp

primary
#DB8FF7
secondary
#DEF5D6
accent
#E3023F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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