#DB7FF6#DB7FF6

#DB7FF6 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.188 H 318.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF6
RGBrgb(219, 127, 246)
HSLhsl(286, 87%, 73%)
HSVhsv(286, 48%, 96%)
CMYKcmyk(11%, 48.4%, 0%, 3.5%)
CIE-LABlab(67.20, 54.06, -45.27)
CIE-LCHlch(67.20, 70.51, 320.05°)
OKLaboklab(73.96% 0.1403 -0.1255)
OKLCHoklch(73.96% 0.188 318.2)
XYZxyz(53.4351, 36.8945, 91.4775)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF6 #9AF67F
analogous
#A07FF6 #DB7FF6 #F67FD5
triadic
#DB7FF6 #F6DB7F #7FF6DB
tetradic
#DB7FF6 #F6A07F #9AF67F #7FD5F6
square
#DB7FF6 #F6A07F #9AF67F #7FD5F6
split-complementary
#DB7FF6 #D5F67F #7FF6A0
monochromatic
#B910EA #CB46F2 #DB7FF6 #EBB8FA #F7E2FD

Accessibility & contrast

On white

2.51
#DB7FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#DB7FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF6
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF6#FFFFFF#000000##000000
##DB7FF61.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#85A7F3
Tritanopia (blue-blind)
#DB90AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7ff6;
/* rgb */ color: rgb(219, 127, 246);
/* oklch */ color: oklch(74.0% 0.188 318.2);
Tailwind
colors: {
  custom: {
    50: '#e8a7f9',
    500: '#db7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff6;
$custom-light: #e8a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff6",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 286.387,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.18823,
    "h": 318.2
  },
  "luminance": 0.36893
}

Semantic roles & 50–950 ramp

primary
#DB7FF6
secondary
#DDF5D6
accent
#E30235
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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