#DB5AFF#DB5AFF

#DB5AFF is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.8% C 0.250 H 318.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#DB5AFF
RGBrgb(219, 90, 255)
HSLhsl(287, 100%, 68%)
HSVhsv(287, 65%, 100%)
CMYKcmyk(14.1%, 64.7%, 0%, 0%)
CIE-LABlab(61.30, 72.88, -59.57)
CIE-LCHlch(61.30, 94.13, 320.74°)
OKLaboklab(69.8% 0.1861 -0.1668)
OKLCHoklch(69.8% 0.25 318.1)
XYZxyz(50.9171, 29.5946, 97.6186)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5AFF #7EFF5A
analogous
#885AFF #DB5AFF #FF5AD1
triadic
#DB5AFF #FFDB5A #5AFFDB
tetradic
#DB5AFF #FF885A #7EFF5A #5AD1FF
square
#DB5AFF #FF885A #7EFF5A #5AD1FF
split-complementary
#DB5AFF #D1FF5A #5AFF88
monochromatic
#AE00DF #CE1DFF #DB5AFF #E897FF #F6D4FF

Accessibility & contrast

On white

3.04
#DB5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#DB5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5AFF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5AFF#FFFFFF#000000##000000
##DB5AFF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8CFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#DA78A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #db5aff;
/* rgb */ color: rgb(219, 90, 255);
/* oklch */ color: oklch(69.8% 0.250 318.1);
Tailwind
colors: {
  custom: {
    50: '#ea91ff',
    500: '#db5aff',
    950: '#000000',
  },
}
SCSS
$custom: #db5aff;
$custom-light: #ea91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db5aff",
  "rgb": {
    "r": 219,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 286.909,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.698,
    "c": 0.24994,
    "h": 318.1
  },
  "luminance": 0.29592
}

Semantic roles & 50–950 ramp

primary
#DB5AFF
secondary
#CCF4C1
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #DB5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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