#DB7FF4#DB7FF4

#DB7FF4 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.186 H 318.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF4
RGBrgb(219, 127, 244)
HSLhsl(287, 84%, 73%)
HSVhsv(287, 48%, 96%)
CMYKcmyk(10.2%, 48%, 0%, 4.3%)
CIE-LABlab(67.11, 53.66, -44.32)
CIE-LCHlch(67.11, 69.60, 320.45°)
OKLaboklab(73.86% 0.14 -0.1227)
OKLCHoklch(73.86% 0.186 318.8)
XYZxyz(53.1298, 36.7724, 89.8695)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF4 #98F47F
analogous
#A07FF4 #DB7FF4 #F47FD3
triadic
#DB7FF4 #F4DB7F #7FF4DB
tetradic
#DB7FF4 #F4A07F #98F47F #7FD3F4
square
#DB7FF4 #F4A07F #98F47F #7FD3F4
split-complementary
#DB7FF4 #D3F47F #7FF4A0
monochromatic
#B814E5 #CB47EF #DB7FF4 #EBB7F9 #F7E3FD

Accessibility & contrast

On white

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

On black

8.35
#DB7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF4#FFFFFF#000000##000000
##DB7FF41.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#86A7F1
Tritanopia (blue-blind)
#DB8FAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ff4;
/* rgb */ color: rgb(219, 127, 244);
/* oklch */ color: oklch(73.9% 0.186 318.8);
Tailwind
colors: {
  custom: {
    50: '#e8a7f8',
    500: '#db7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff4;
$custom-light: #e8a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff4",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 287.179,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73864,
    "c": 0.18622,
    "h": 318.8
  },
  "luminance": 0.3677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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