#DB5FE2#DB5FE2

#DB5FE2 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.8% C 0.218 H 325.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#DB5FE2
RGBrgb(219, 95, 226)
HSLhsl(297, 69%, 63%)
HSVhsv(297, 58%, 89%)
CMYKcmyk(3.1%, 58%, 0%, 11.4%)
CIE-LABlab(60.55, 65.52, -44.65)
CIE-LCHlch(60.55, 79.29, 325.73°)
OKLaboklab(68.76% 0.1796 -0.1235)
OKLCHoklch(68.76% 0.218 325.5)
XYZxyz(47.0321, 28.7382, 75.0065)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5FE2 #66E25F
analogous
#995FE2 #DB5FE2 #E25FA7
triadic
#DB5FE2 #E2DB5F #5FE2DB
tetradic
#DB5FE2 #E2995F #66E25F #5FA7E2
square
#DB5FE2 #E2995F #66E25F #5FA7E2
split-complementary
#DB5FE2 #A7E25F #5FE299
monochromatic
#A11EA8 #CF2BD9 #DB5FE2 #E793EB #F2C7F5

Accessibility & contrast

On white

3.11
#DB5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#DB5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5FE2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5FE2#FFFFFF#000000##000000
##DB5FE21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E6
Deuteranopia (green-blind)
#7797DE
Tritanopia (blue-blind)
#E07098
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #db5fe2;
/* rgb */ color: rgb(219, 95, 226);
/* oklch */ color: oklch(68.8% 0.218 325.5);
Tailwind
colors: {
  custom: {
    50: '#e993eb',
    500: '#db5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #db5fe2;
$custom-light: #e993eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db5fe2",
  "rgb": {
    "r": 219,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 296.794,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68763,
    "c": 0.21796,
    "h": 325.5
  },
  "luminance": 0.28735
}

Semantic roles & 50–950 ramp

primary
#DB5FE2
secondary
#B9E6B7
accent
#D1141E
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #DB5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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