#DB5FF2#DB5FF2

#DB5FF2 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.6% C 0.232 H 321.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#DB5FF2
RGBrgb(219, 95, 242)
HSLhsl(291, 85%, 66%)
HSVhsv(291, 61%, 95%)
CMYKcmyk(9.5%, 60.7%, 0%, 5.1%)
CIE-LABlab(61.36, 68.38, -52.29)
CIE-LCHlch(61.36, 86.08, 322.59°)
OKLaboklab(69.61% 0.1805 -0.1456)
OKLCHoklch(69.61% 0.232 321.1)
XYZxyz(49.3308, 29.6577, 87.1132)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5FF2 #76F25F
analogous
#915FF2 #DB5FF2 #F25FBF
triadic
#DB5FF2 #F2DB5F #5FF2DB
tetradic
#DB5FF2 #F2915F #76F25F #5FBFF2
square
#DB5FF2 #F2915F #76F25F #5FBFF2
split-complementary
#DB5FF2 #BFF25F #5FF291
monochromatic
#AA10C6 #CE26ED #DB5FF2 #E898F7 #F4D0FB

Accessibility & contrast

On white

3.03
#DB5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#DB5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5FF2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5FF2#FFFFFF#000000##000000
##DB5FF21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#6E99EE
Tritanopia (blue-blind)
#DD76A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #db5ff2;
/* rgb */ color: rgb(219, 95, 242);
/* oklch */ color: oklch(69.6% 0.232 321.1);
Tailwind
colors: {
  custom: {
    50: '#e993f7',
    500: '#db5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #db5ff2;
$custom-light: #e993f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db5ff2",
  "rgb": {
    "r": 219,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 290.612,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.23192,
    "h": 321.1
  },
  "luminance": 0.29655
}

Semantic roles & 50–950 ramp

primary
#DB5FF2
secondary
#C6EFBE
accent
#E10427
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DB5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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