#DB7FFF#DB7FFF

#DB7FFF is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.4% C 0.197 H 315.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#DB7FFF
RGBrgb(219, 127, 255)
HSLhsl(283, 100%, 75%)
HSVhsv(283, 50%, 100%)
CMYKcmyk(14.1%, 50.2%, 0%, 0%)
CIE-LABlab(67.62, 55.84, -49.54)
CIE-LCHlch(67.62, 74.65, 318.42°)
OKLaboklab(74.41% 0.1414 -0.1378)
OKLCHoklch(74.41% 0.197 315.7)
XYZxyz(54.8500, 37.4605, 98.9296)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FFF #A3FF7F
analogous
#9B7FFF #DB7FFF #FF7FE3
triadic
#DB7FFF #FFDB7F #7FFFDB
tetradic
#DB7FFF #FF9B7F #A3FF7F #7FE3FF
square
#DB7FFF #FF9B7F #A3FF7F #7FE3FF
split-complementary
#DB7FFF #E3FF7F #7FFF9B
monochromatic
#B905FF #CA42FF #DB7FFF #ECBCFF #F6E0FF

Accessibility & contrast

On white

2.47
#DB7FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#DB7FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FFF
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FFF#FFFFFF#000000##000000
##DB7FFF1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#80A7FC
Tritanopia (blue-blind)
#D993B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #db7fff;
/* rgb */ color: rgb(219, 127, 255);
/* oklch */ color: oklch(74.4% 0.197 315.7);
Tailwind
colors: {
  custom: {
    50: '#e8a7ff',
    500: '#db7fff',
    950: '#000000',
  },
}
SCSS
$custom: #db7fff;
$custom-light: #e8a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fff",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 283.125,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74414,
    "c": 0.19744,
    "h": 315.7
  },
  "luminance": 0.37459
}

Semantic roles & 50–950 ramp

primary
#DB7FFF
secondary
#DEF7D4
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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