#DB5FFE#DB5FFE

#DB5FFE is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.3% C 0.243 H 318.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#DB5FFE
RGBrgb(219, 95, 254)
HSLhsl(287, 99%, 68%)
HSVhsv(287, 63%, 100%)
CMYKcmyk(13.8%, 62.6%, 0%, 0.4%)
CIE-LABlab(62.00, 70.60, -57.91)
CIE-LCHlch(62.00, 91.31, 320.64°)
OKLaboklab(70.29% 0.1806 -0.162)
OKLCHoklch(70.29% 0.243 318.1)
XYZxyz(51.1925, 30.4024, 96.9184)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5FFE #82FE5F
analogous
#8B5FFE #DB5FFE #FE5FD2
triadic
#DB5FFE #FEDB5F #5FFEDB
tetradic
#DB5FFE #FE8B5F #82FE5F #5FD2FE
square
#DB5FFE #FE8B5F #82FE5F #5FD2FE
split-complementary
#DB5FFE #D2FE5F #5FFE8B
monochromatic
#B001E1 #CD22FE #DB5FFE #E99CFE #F6D9FF

Accessibility & contrast

On white

2.97
#DB5FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#DB5FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB5FFE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5FFE#FFFFFF#000000##000000
##DB5FFE1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#DA7BA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #db5ffe;
/* rgb */ color: rgb(219, 95, 254);
/* oklch */ color: oklch(70.3% 0.243 318.1);
Tailwind
colors: {
  custom: {
    50: '#ea94ff',
    500: '#db5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #db5ffe;
$custom-light: #ea94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db5ffe",
  "rgb": {
    "r": 219,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 286.792,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70285,
    "c": 0.24265,
    "h": 318.1
  },
  "luminance": 0.304
}

Semantic roles & 50–950 ramp

primary
#DB5FFE
secondary
#CFF4C4
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DB5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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