#D581FD#D581FD

#D581FD is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.9% C 0.190 H 313.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#D581FD
RGBrgb(213, 129, 253)
HSLhsl(281, 97%, 75%)
HSVhsv(281, 49%, 99%)
CMYKcmyk(15.8%, 49%, 0%, 0.8%)
CIE-LABlab(67.23, 52.83, -49.10)
CIE-LCHlch(67.23, 72.13, 317.10°)
OKLaboklab(73.94% 0.1315 -0.1367)
OKLCHoklch(73.94% 0.19 313.9)
XYZxyz(53.0175, 36.9398, 97.2467)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581FD #A9FD81
analogous
#9781FD #D581FD #FD81E7
triadic
#D581FD #FDD581 #81FDD5
tetradic
#D581FD #FD9781 #A9FD81 #81E7FD
square
#D581FD #FD9781 #A9FD81 #81E7FD
split-complementary
#D581FD #E7FD81 #81FD97
monochromatic
#AD09FB #C145FC #D581FD #E9BDFE #F5E1FF

Accessibility & contrast

On white

2.50
#D581FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#D581FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581FD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581FD#FFFFFF#000000##000000
##D581FD1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#D294B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d581fd;
/* rgb */ color: rgb(213, 129, 253);
/* oklch */ color: oklch(73.9% 0.190 313.9);
Tailwind
colors: {
  custom: {
    50: '#e4a8fe',
    500: '#d581fd',
    950: '#000000',
  },
}
SCSS
$custom: #d581fd;
$custom-light: #e4a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d581fd",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 280.645,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73944,
    "c": 0.18971,
    "h": 313.9
  },
  "luminance": 0.36938
}

Semantic roles & 50–950 ramp

primary
#D581FD
secondary
#DFF7D4
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D581FD

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

Preview Lab → · Contrast checker → · Palette generator →

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