#DB7EF0#DB7EF0

#DB7EF0 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.184 H 320.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DB7EF0
RGBrgb(219, 126, 240)
HSLhsl(289, 79%, 72%)
HSVhsv(289, 48%, 94%)
CMYKcmyk(8.8%, 47.5%, 0%, 5.9%)
CIE-LABlab(66.73, 53.39, -42.71)
CIE-LCHlch(66.73, 68.37, 321.34°)
OKLaboklab(73.52% 0.1408 -0.1181)
OKLCHoklch(73.52% 0.184 320)
XYZxyz(52.4005, 36.2750, 86.6627)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EF0 #93F07E
analogous
#A27EF0 #DB7EF0 #F07ECC
triadic
#DB7EF0 #F0DB7E #7EF0DB
tetradic
#DB7EF0 #F0A27E #93F07E #7ECCF0
square
#DB7EF0 #F0A27E #93F07E #7ECCF0
split-complementary
#DB7EF0 #CCF07E #7EF0A2
monochromatic
#B719DA #CC47EA #DB7EF0 #EAB5F6 #F7E4FC

Accessibility & contrast

On white

2.54
#DB7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DB7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EF0
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EF0#FFFFFF#000000##000000
##DB7EF01.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#DC8DAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7ef0;
/* rgb */ color: rgb(219, 126, 240);
/* oklch */ color: oklch(73.5% 0.184 320.0);
Tailwind
colors: {
  custom: {
    50: '#e8a6f5',
    500: '#db7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #db7ef0;
$custom-light: #e8a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ef0",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 288.947,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73525,
    "c": 0.18379,
    "h": 320
  },
  "luminance": 0.36273
}

Semantic roles & 50–950 ramp

primary
#DB7EF0
secondary
#DCF3D6
accent
#DB0A31
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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