#DB62F8#DB62F8

#DB62F8 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.3% C 0.233 H 319.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#DB62F8
RGBrgb(219, 98, 248)
HSLhsl(288, 91%, 68%)
HSVhsv(288, 60%, 97%)
CMYKcmyk(11.7%, 60.5%, 0%, 2.7%)
CIE-LABlab(62.15, 68.19, -54.36)
CIE-LCHlch(62.15, 87.20, 321.44°)
OKLaboklab(70.29% 0.1772 -0.1517)
OKLCHoklch(70.29% 0.233 319.4)
XYZxyz(50.5222, 30.5750, 92.0291)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB62F8 #7FF862
analogous
#9062F8 #DB62F8 #F862CA
triadic
#DB62F8 #F8DB62 #62F8DB
tetradic
#DB62F8 #F89062 #7FF862 #62CAF8
square
#DB62F8 #F89062 #7FF862 #62CAF8
split-complementary
#DB62F8 #CAF862 #62F890
monochromatic
#AF0AD6 #CE27F5 #DB62F8 #E89DFB #F6D7FD

Accessibility & contrast

On white

2.95
#DB62F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#DB62F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB62F8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB62F8#FFFFFF#000000##000000
##DB62F81.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFD
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#DC7BA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #db62f8;
/* rgb */ color: rgb(219, 98, 248);
/* oklch */ color: oklch(70.3% 0.233 319.4);
Tailwind
colors: {
  custom: {
    50: '#e995fb',
    500: '#db62f8',
    950: '#000000',
  },
}
SCSS
$custom: #db62f8;
$custom-light: #e995fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db62f8",
  "rgb": {
    "r": 219,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 288.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.23322,
    "h": 319.4
  },
  "luminance": 0.30573
}

Semantic roles & 50–950 ramp

primary
#DB62F8
secondary
#CDF2C4
accent
#E6002C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DB62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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