#D581F7#D581F7

#D581F7 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.6% C 0.183 H 315.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D581F7
RGBrgb(213, 129, 247)
HSLhsl(283, 88%, 74%)
HSVhsv(283, 48%, 97%)
CMYKcmyk(13.8%, 47.8%, 0%, 3.1%)
CIE-LABlab(66.95, 51.60, -46.26)
CIE-LCHlch(66.95, 69.31, 318.12°)
OKLaboklab(73.64% 0.1308 -0.1285)
OKLCHoklch(73.64% 0.183 315.5)
XYZxyz(52.0767, 36.5635, 92.2918)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581F7 #A3F781
analogous
#9A81F7 #D581F7 #F781DE
triadic
#D581F7 #F7D581 #81F7D5
tetradic
#D581F7 #F79A81 #A3F781 #81DEF7
square
#D581F7 #F79A81 #A3F781 #81DEF7
split-complementary
#D581F7 #DEF781 #81F79A
monochromatic
#AE0FEE #C247F3 #D581F7 #E8BBFB #F5E2FD

Accessibility & contrast

On white

2.53
#D581F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#D581F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581F7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581F7#FFFFFF#000000##000000
##D581F71.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#D392B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d581f7;
/* rgb */ color: rgb(213, 129, 247);
/* oklch */ color: oklch(73.6% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#e4a8fa',
    500: '#d581f7',
    950: '#000000',
  },
}
SCSS
$custom: #d581f7;
$custom-light: #e4a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d581f7",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 282.712,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.18335,
    "h": 315.5
  },
  "luminance": 0.36562
}

Semantic roles & 50–950 ramp

primary
#D581F7
secondary
#DFF5D6
accent
#E50142
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D581F7

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

Preview Lab → · Contrast checker → · Palette generator →

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