#DB85F2#DB85F2

#DB85F2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.7% C 0.174 H 318.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#DB85F2
RGBrgb(219, 133, 242)
HSLhsl(287, 81%, 74%)
HSVhsv(287, 45%, 95%)
CMYKcmyk(9.5%, 45%, 0%, 5.1%)
CIE-LABlab(68.20, 50.21, -41.50)
CIE-LCHlch(68.20, 65.15, 320.43°)
OKLaboklab(74.65% 0.1315 -0.1146)
OKLCHoklch(74.65% 0.174 318.9)
XYZxyz(53.6258, 38.2478, 88.5449)
Luminance0.3825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB85F2 #9CF285
analogous
#A485F2 #DB85F2 #F285D3
triadic
#DB85F2 #F2DB85 #85F2DB
tetradic
#DB85F2 #F2A485 #9CF285 #85D3F2
square
#DB85F2 #F2A485 #9CF285 #85D3F2
split-complementary
#DB85F2 #D3F285 #85F2A4
monochromatic
#B918E4 #CB4EEC #DB85F2 #EBBCF8 #F7E3FC

Accessibility & contrast

On white

2.43
#DB85F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#DB85F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB85F2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB85F2#FFFFFF#000000##000000
##DB85F21.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#DC93B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #db85f2;
/* rgb */ color: rgb(219, 133, 242);
/* oklch */ color: oklch(74.7% 0.174 318.9);
Tailwind
colors: {
  custom: {
    50: '#e8abf6',
    500: '#db85f2',
    950: '#000000',
  },
}
SCSS
$custom: #db85f2;
$custom-light: #e8abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db85f2",
  "rgb": {
    "r": 219,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 287.339,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7465,
    "c": 0.17448,
    "h": 318.9
  },
  "luminance": 0.38246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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