#DB70F8#DB70F8

#DB70F8 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.0% C 0.213 H 318.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#DB70F8
RGBrgb(219, 112, 248)
HSLhsl(287, 91%, 71%)
HSVhsv(287, 55%, 97%)
CMYKcmyk(11.7%, 54.8%, 0%, 2.7%)
CIE-LABlab(64.51, 61.80, -50.62)
CIE-LCHlch(64.51, 79.88, 320.68°)
OKLaboklab(72.01% 0.1601 -0.1409)
OKLCHoklch(72.01% 0.213 318.7)
XYZxyz(51.9486, 33.4278, 92.5045)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB70F8 #8DF870
analogous
#9770F8 #DB70F8 #F870D1
triadic
#DB70F8 #F8DB70 #70F8DB
tetradic
#DB70F8 #F89770 #8DF870 #70D1F8
square
#DB70F8 #F89770 #8DF870 #70D1F8
split-complementary
#DB70F8 #D1F870 #70F897
monochromatic
#B50BE3 #CC36F5 #DB70F8 #EAAAFB #F8E2FE

Accessibility & contrast

On white

2.73
#DB70F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#DB70F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB70F8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB70F8#FFFFFF#000000##000000
##DB70F81.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#DB85AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db70f8;
/* rgb */ color: rgb(219, 112, 248);
/* oklch */ color: oklch(72.0% 0.213 318.7);
Tailwind
colors: {
  custom: {
    50: '#e99dfb',
    500: '#db70f8',
    950: '#000000',
  },
}
SCSS
$custom: #db70f8;
$custom-light: #e99dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#db70f8",
  "rgb": {
    "r": 219,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 287.206,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72008,
    "c": 0.21329,
    "h": 318.7
  },
  "luminance": 0.33426
}

Semantic roles & 50–950 ramp

primary
#DB70F8
secondary
#D7F4CF
accent
#E60031
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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