#DB7EFC#DB7EFC

#DB7EFC is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.196 H 316.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DB7EFC
RGBrgb(219, 126, 252)
HSLhsl(284, 95%, 74%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13.1%, 50%, 0%, 1.2%)
CIE-LABlab(67.29, 55.74, -48.42)
CIE-LCHlch(67.29, 73.84, 319.02°)
OKLaboklab(74.12% 0.1424 -0.1346)
OKLCHoklch(74.12% 0.196 316.6)
XYZxyz(54.2424, 37.0118, 96.3633)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EFC #9FFC7E
analogous
#9C7EFC #DB7EFC #FC7EDE
triadic
#DB7EFC #FCDB7E #7EFCDB
tetradic
#DB7EFC #FC9C7E #9FFC7E #7EDEFC
square
#DB7EFC #FC9C7E #9FFC7E #7EDEFC
split-complementary
#DB7EFC #DEFC7E #7EFC9C
monochromatic
#BA06F9 #CA42FB #DB7EFC #ECBAFD #F7E1FE

Accessibility & contrast

On white

2.50
#DB7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#DB7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EFC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EFC#FFFFFF#000000##000000
##DB7EFC1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#DA91B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7efc;
/* rgb */ color: rgb(219, 126, 252);
/* oklch */ color: oklch(74.1% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#e8a6fe',
    500: '#db7efc',
    950: '#000000',
  },
}
SCSS
$custom: #db7efc;
$custom-light: #e8a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7efc",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 284.286,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74119,
    "c": 0.19592,
    "h": 316.6
  },
  "luminance": 0.3701
}

Semantic roles & 50–950 ramp

primary
#DB7EFC
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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