#D581FE#D581FE

#D581FE is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.191 H 313.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D581FE
RGBrgb(213, 129, 254)
HSLhsl(280, 98%, 75%)
HSVhsv(280, 49%, 100%)
CMYKcmyk(16.1%, 49.2%, 0%, 0.4%)
CIE-LABlab(67.28, 53.04, -49.57)
CIE-LCHlch(67.28, 72.60, 316.93°)
OKLaboklab(74% 0.1316 -0.1381)
OKLCHoklch(74% 0.191 313.6)
XYZxyz(53.1773, 37.0037, 98.0879)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581FE #AAFE81
analogous
#9681FE #D581FE #FE81E8
triadic
#D581FE #FED581 #81FED5
tetradic
#D581FE #FE9681 #AAFE81 #81E8FE
square
#D581FE #FE9681 #AAFE81 #81E8FE
split-complementary
#D581FE #E8FE81 #81FE96
monochromatic
#AD08FD #C144FE #D581FE #E9BEFE #F5E1FF

Accessibility & contrast

On white

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

On black

8.40
#D581FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581FE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581FE#FFFFFF#000000##000000
##D581FE1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d581fe;
/* rgb */ color: rgb(213, 129, 254);
/* oklch */ color: oklch(74.0% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#e4a8ff',
    500: '#d581fe',
    950: '#000000',
  },
}
SCSS
$custom: #d581fe;
$custom-light: #e4a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d581fe",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 280.32,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73996,
    "c": 0.19078,
    "h": 313.6
  },
  "luminance": 0.37002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D581FE

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

Preview Lab → · Contrast checker → · Palette generator →

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