#DB7FFA#DB7FFA

#DB7FFA is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.192 H 317.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#DB7FFA
RGBrgb(219, 127, 250)
HSLhsl(285, 92%, 74%)
HSVhsv(285, 49%, 98%)
CMYKcmyk(12.4%, 49.2%, 0%, 2%)
CIE-LABlab(67.38, 54.84, -47.17)
CIE-LCHlch(67.38, 72.34, 319.30°)
OKLaboklab(74.16% 0.1408 -0.131)
OKLCHoklch(74.16% 0.192 317.1)
XYZxyz(54.0556, 37.1427, 94.7457)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FFA #9EFA7F
analogous
#9E7FFA #DB7FFA #FA7FDC
triadic
#DB7FFA #FADB7F #7FFADB
tetradic
#DB7FFA #FA9E7F #9EFA7F #7FDCFA
square
#DB7FFA #FA9E7F #9EFA7F #7FDCFA
split-complementary
#DB7FFA #DCFA7F #7FFA9E
monochromatic
#BA0AF5 #CA44F8 #DB7FFA #ECBAFC #F7E2FE

Accessibility & contrast

On white

2.49
#DB7FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#DB7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FFA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FFA#FFFFFF#000000##000000
##DB7FFA1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#DA91B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7ffa;
/* rgb */ color: rgb(219, 127, 250);
/* oklch */ color: oklch(74.2% 0.192 317.1);
Tailwind
colors: {
  custom: {
    50: '#e8a7fc',
    500: '#db7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #db7ffa;
$custom-light: #e8a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ffa",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 284.878,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74161,
    "c": 0.19231,
    "h": 317.1
  },
  "luminance": 0.37141
}

Semantic roles & 50–950 ramp

primary
#DB7FFA
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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