#DB85F8#DB85F8

#DB85F8 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.9% C 0.181 H 317.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#DB85F8
RGBrgb(219, 133, 248)
HSLhsl(285, 89%, 75%)
HSVhsv(285, 46%, 97%)
CMYKcmyk(11.7%, 46.4%, 0%, 2.7%)
CIE-LABlab(68.47, 51.40, -44.37)
CIE-LCHlch(68.47, 67.90, 319.20°)
OKLaboklab(74.94% 0.1324 -0.1229)
OKLCHoklch(74.94% 0.181 317.1)
XYZxyz(54.5418, 38.6141, 93.3689)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB85F8 #A2F885
analogous
#A285F8 #DB85F8 #F885DB
triadic
#DB85F8 #F8DB85 #85F8DB
tetradic
#DB85F8 #F8A285 #A2F885 #85DBF8
square
#DB85F8 #F8A285 #A2F885 #85DBF8
split-complementary
#DB85F8 #DBF885 #85F8A2
monochromatic
#B911F1 #CA4BF5 #DB85F8 #ECBFFB #F6E2FD

Accessibility & contrast

On white

2.41
#DB85F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#DB85F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB85F8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB85F8#FFFFFF#000000##000000
##DB85F81.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#DA95B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db85f8;
/* rgb */ color: rgb(219, 133, 248);
/* oklch */ color: oklch(74.9% 0.181 317.1);
Tailwind
colors: {
  custom: {
    50: '#e8abfb',
    500: '#db85f8',
    950: '#000000',
  },
}
SCSS
$custom: #db85f8;
$custom-light: #e8abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#db85f8",
  "rgb": {
    "r": 219,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 284.87,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74938,
    "c": 0.18069,
    "h": 317.1
  },
  "luminance": 0.38612
}

Semantic roles & 50–950 ramp

primary
#DB85F8
secondary
#DEF5D6
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB85F8

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

Preview Lab → · Contrast checker → · Palette generator →

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