#D581F9#D581F9

#D581F9 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.7% C 0.185 H 315.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D581F9
RGBrgb(213, 129, 249)
HSLhsl(282, 91%, 74%)
HSVhsv(282, 48%, 98%)
CMYKcmyk(14.5%, 48.2%, 0%, 2.4%)
CIE-LABlab(67.04, 52.01, -47.21)
CIE-LCHlch(67.04, 70.24, 317.77°)
OKLaboklab(73.74% 0.131 -0.1312)
OKLCHoklch(73.74% 0.185 315)
XYZxyz(52.3870, 36.6876, 93.9260)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581F9 #A5F981
analogous
#9981F9 #D581F9 #F981E1
triadic
#D581F9 #F9D581 #81F9D5
tetradic
#D581F9 #F99981 #A5F981 #81E1F9
square
#D581F9 #F99981 #A5F981 #81E1F9
split-complementary
#D581F9 #E1F981 #81F999
monochromatic
#AE0CF3 #C247F6 #D581F9 #E8BBFC #F5E2FE

Accessibility & contrast

On white

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

On black

8.34
#D581F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581F9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581F9#FFFFFF#000000##000000
##D581F91.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#80A6F6
Tritanopia (blue-blind)
#D393B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d581f9;
/* rgb */ color: rgb(213, 129, 249);
/* oklch */ color: oklch(73.7% 0.185 315.0);
Tailwind
colors: {
  custom: {
    50: '#e4a8fc',
    500: '#d581f9',
    950: '#000000',
  },
}
SCSS
$custom: #d581f9;
$custom-light: #e4a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d581f9",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 282,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73742,
    "c": 0.18547,
    "h": 315
  },
  "luminance": 0.36686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D581F9

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

Preview Lab → · Contrast checker → · Palette generator →

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