#D581FB#D581FB

#D581FB is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.8% C 0.188 H 314.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D581FB
RGBrgb(213, 129, 251)
HSLhsl(281, 94%, 75%)
HSVhsv(281, 49%, 98%)
CMYKcmyk(15.1%, 48.6%, 0%, 1.6%)
CIE-LABlab(67.14, 52.42, -48.16)
CIE-LCHlch(67.14, 71.18, 317.43°)
OKLaboklab(73.84% 0.1313 -0.134)
OKLCHoklch(73.84% 0.188 314.4)
XYZxyz(52.7006, 36.8131, 95.5776)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581FB #A7FB81
analogous
#9881FB #D581FB #FB81E4
triadic
#D581FB #FBD581 #81FBD5
tetradic
#D581FB #FB9881 #A7FB81 #81E4FB
square
#D581FB #FB9881 #A7FB81 #81E4FB
split-complementary
#D581FB #E4FB81 #81FB98
monochromatic
#AD0AF7 #C146F9 #D581FB #E9BCFD #F5E1FE

Accessibility & contrast

On white

2.51
#D581FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#D581FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581FB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581FB#FFFFFF#000000##000000
##D581FB1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#D294B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d581fb;
/* rgb */ color: rgb(213, 129, 251);
/* oklch */ color: oklch(73.8% 0.188 314.4);
Tailwind
colors: {
  custom: {
    50: '#e4a8fd',
    500: '#d581fb',
    950: '#000000',
  },
}
SCSS
$custom: #d581fb;
$custom-light: #e4a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d581fb",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 281.311,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73843,
    "c": 0.18758,
    "h": 314.4
  },
  "luminance": 0.36812
}

Semantic roles & 50–950 ramp

primary
#D581FB
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D581FB

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

Preview Lab → · Contrast checker → · Palette generator →

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