#DB7FF1#DB7FF1

#DB7FF1 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.7% C 0.183 H 319.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF1
RGBrgb(219, 127, 241)
HSLhsl(288, 80%, 72%)
HSVhsv(288, 47%, 95%)
CMYKcmyk(9.1%, 47.3%, 0%, 5.5%)
CIE-LABlab(66.97, 53.08, -42.88)
CIE-LCHlch(66.97, 68.24, 321.06°)
OKLaboklab(73.72% 0.1396 -0.1186)
OKLCHoklch(73.72% 0.183 319.7)
XYZxyz(52.6780, 36.5916, 87.4901)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF1 #95F17F
analogous
#A27FF1 #DB7FF1 #F17FCE
triadic
#DB7FF1 #F1DB7F #7FF1DB
tetradic
#DB7FF1 #F1A27F #95F17F #7FCEF1
square
#DB7FF1 #F1A27F #95F17F #7FCEF1
split-complementary
#DB7FF1 #CEF17F #7FF1A2
monochromatic
#B718DD #CB48EB #DB7FF1 #EBB6F7 #F7E3FC

Accessibility & contrast

On white

2.52
#DB7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#DB7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF1#FFFFFF#000000##000000
##DB7FF11.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF5
Deuteranopia (green-blind)
#87A6EE
Tritanopia (blue-blind)
#DC8EAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ff1;
/* rgb */ color: rgb(219, 127, 241);
/* oklch */ color: oklch(73.7% 0.183 319.7);
Tailwind
colors: {
  custom: {
    50: '#e8a7f6',
    500: '#db7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff1;
$custom-light: #e8a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff1",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 288.421,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73718,
    "c": 0.18319,
    "h": 319.7
  },
  "luminance": 0.3659
}

Semantic roles & 50–950 ramp

primary
#DB7FF1
secondary
#DDF4D7
accent
#DD0932
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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