#DB62FC#DB62FC

#DB62FC is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.5% C 0.237 H 318.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#DB62FC
RGBrgb(219, 98, 252)
HSLhsl(287, 96%, 69%)
HSVhsv(287, 61%, 99%)
CMYKcmyk(13.1%, 61.1%, 0%, 1.2%)
CIE-LABlab(62.36, 68.94, -56.23)
CIE-LCHlch(62.36, 88.96, 320.80°)
OKLaboklab(70.51% 0.1772 -0.1571)
OKLCHoklch(70.51% 0.237 318.4)
XYZxyz(51.1494, 30.8259, 95.3323)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB62FC #83FC62
analogous
#8E62FC #DB62FC #FC62D0
triadic
#DB62FC #FCDB62 #62FCDB
tetradic
#DB62FC #FC8E62 #83FC62 #62D0FC
square
#DB62FC #FC8E62 #83FC62 #62D0FC
split-complementary
#DB62FC #D0FC62 #62FC8E
monochromatic
#B004DF #CD26FB #DB62FC #E99EFD #F7DAFE

Accessibility & contrast

On white

2.93
#DB62FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#DB62FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB62FC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB62FC#FFFFFF#000000##000000
##DB62FC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#DB7CA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #db62fc;
/* rgb */ color: rgb(219, 98, 252);
/* oklch */ color: oklch(70.5% 0.237 318.4);
Tailwind
colors: {
  custom: {
    50: '#ea95fe',
    500: '#db62fc',
    950: '#000000',
  },
}
SCSS
$custom: #db62fc;
$custom-light: #ea95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db62fc",
  "rgb": {
    "r": 219,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 287.143,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70511,
    "c": 0.23685,
    "h": 318.4
  },
  "luminance": 0.30824
}

Semantic roles & 50–950 ramp

primary
#DB62FC
secondary
#D0F4C6
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DB62FC

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

Preview Lab → · Contrast checker → · Palette generator →

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