#D581DB#D581DB

#D581DB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.3% C 0.155 H 324.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D581DB
RGBrgb(213, 129, 219)
HSLhsl(296, 56%, 68%)
HSVhsv(296, 41%, 86%)
CMYKcmyk(2.7%, 41.1%, 0%, 14.1%)
CIE-LABlab(65.72, 46.14, -32.71)
CIE-LCHlch(65.72, 56.56, 324.66°)
OKLaboklab(72.32% 0.1261 -0.0896)
OKLCHoklch(72.32% 0.155 324.6)
XYZxyz(48.0758, 34.9632, 71.2203)
Luminance0.3496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581DB #87DB81
analogous
#A881DB #D581DB #DB81B4
triadic
#D581DB #DBD581 #81DBD5
tetradic
#D581DB #DBA881 #87DB81 #81B4DB
square
#D581DB #DBA881 #87DB81 #81B4DB
split-complementary
#D581DB #B4DB81 #81DBA8
monochromatic
#A732AF #C551CD #D581DB #E5B1E9 #F5E0F6

Accessibility & contrast

On white

2.63
#D581DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D581DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581DB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581DB#FFFFFF#000000##000000
##D581DB1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#D98BA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d581db;
/* rgb */ color: rgb(213, 129, 219);
/* oklch */ color: oklch(72.3% 0.155 324.6);
Tailwind
colors: {
  custom: {
    50: '#e3a7e6',
    500: '#d581db',
    950: '#000000',
  },
}
SCSS
$custom: #d581db;
$custom-light: #e3a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d581db",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 296,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72323,
    "c": 0.15468,
    "h": 324.6
  },
  "luminance": 0.34961
}

Semantic roles & 50–950 ramp

primary
#D581DB
secondary
#D0EACE
accent
#C3222D
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581DB

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

Preview Lab → · Contrast checker → · Palette generator →

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