#D581FA#D581FA

#D581FA is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.187 H 314.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D581FA
RGBrgb(213, 129, 250)
HSLhsl(282, 92%, 74%)
HSVhsv(282, 48%, 98%)
CMYKcmyk(14.8%, 48.4%, 0%, 2%)
CIE-LABlab(67.09, 52.22, -47.69)
CIE-LCHlch(67.09, 70.71, 317.60°)
OKLaboklab(73.79% 0.1312 -0.1326)
OKLCHoklch(73.79% 0.187 314.7)
XYZxyz(52.5434, 36.7502, 94.7496)
Luminance0.3675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581FA #A6FA81
analogous
#9981FA #D581FA #FA81E2
triadic
#D581FA #FAD581 #81FAD5
tetradic
#D581FA #FA9981 #A6FA81 #81E2FA
square
#D581FA #FA9981 #A6FA81 #81E2FA
split-complementary
#D581FA #E2FA81 #81FA99
monochromatic
#AE0BF5 #C146F8 #D581FA #E9BCFC #F5E2FE

Accessibility & contrast

On white

2.52
#D581FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#D581FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581FA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581FA#FFFFFF#000000##000000
##D581FA1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#D293B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d581fa;
/* rgb */ color: rgb(213, 129, 250);
/* oklch */ color: oklch(73.8% 0.187 314.7);
Tailwind
colors: {
  custom: {
    50: '#e4a8fc',
    500: '#d581fa',
    950: '#000000',
  },
}
SCSS
$custom: #d581fa;
$custom-light: #e4a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d581fa",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 281.653,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73792,
    "c": 0.18652,
    "h": 314.7
  },
  "luminance": 0.36749
}

Semantic roles & 50–950 ramp

primary
#D581FA
secondary
#DFF6D5
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D581FA

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

Preview Lab → · Contrast checker → · Palette generator →

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