#DB4AFF#DB4AFF

#DB4AFF is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 68.3% C 0.269 H 318.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#DB4AFF
RGBrgb(219, 74, 255)
HSLhsl(288, 100%, 65%)
HSVhsv(288, 71%, 100%)
CMYKcmyk(14.1%, 71%, 0%, 0%)
CIE-LABlab(59.14, 78.96, -63.03)
CIE-LCHlch(59.14, 101.04, 321.40°)
OKLaboklab(68.25% 0.2021 -0.1769)
OKLCHoklch(68.25% 0.269 318.8)
XYZxyz(49.7098, 27.1800, 97.2162)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4AFF #6EFF4A
analogous
#804AFF #DB4AFF #FF4AC9
triadic
#DB4AFF #FFDB4A #4AFFDB
tetradic
#DB4AFF #FF804A #6EFF4A #4AC9FF
square
#DB4AFF #FF804A #6EFF4A #4AC9FF
split-complementary
#DB4AFF #C9FF4A #4AFF80
monochromatic
#A600CF #CF0DFF #DB4AFF #E787FF #F3C4FF

Accessibility & contrast

On white

3.26
#DB4AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#DB4AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4AFF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4AFF#FFFFFF#000000##000000
##DB4AFF1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#DB6EA1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db4aff;
/* rgb */ color: rgb(219, 74, 255);
/* oklch */ color: oklch(68.3% 0.269 318.8);
Tailwind
colors: {
  custom: {
    50: '#eb89ff',
    500: '#db4aff',
    950: '#000000',
  },
}
SCSS
$custom: #db4aff;
$custom-light: #eb89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db4aff",
  "rgb": {
    "r": 219,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 288.066,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68252,
    "c": 0.26854,
    "h": 318.8
  },
  "luminance": 0.27178
}

Semantic roles & 50–950 ramp

primary
#DB4AFF
secondary
#C0F2B3
accent
#E6002E
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#170D18
muted
#857D86

Preview Lab

Preview with #DB4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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