#D581F3#D581F3

#D581F3 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.4% C 0.179 H 316.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#D581F3
RGBrgb(213, 129, 243)
HSLhsl(284, 83%, 73%)
HSVhsv(284, 47%, 95%)
CMYKcmyk(12.3%, 46.9%, 0%, 4.7%)
CIE-LABlab(66.76, 50.80, -44.36)
CIE-LCHlch(66.76, 67.44, 318.87°)
OKLaboklab(73.44% 0.1302 -0.123)
OKLCHoklch(73.44% 0.179 316.6)
XYZxyz(51.4661, 36.3193, 89.0759)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581F3 #9FF381
analogous
#9C81F3 #D581F3 #F381D8
triadic
#D581F3 #F3D581 #81F3D5
tetradic
#D581F3 #F39C81 #9FF381 #81D8F3
square
#D581F3 #F39C81 #9FF381 #81D8F3
split-complementary
#D581F3 #D8F381 #81F39C
monochromatic
#AE16E4 #C249EE #D581F3 #E8B9F8 #F6E3FC

Accessibility & contrast

On white

2.54
#D581F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#D581F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581F3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581F3#FFFFFF#000000##000000
##D581F31.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#D491AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d581f3;
/* rgb */ color: rgb(213, 129, 243);
/* oklch */ color: oklch(73.4% 0.179 316.6);
Tailwind
colors: {
  custom: {
    50: '#e4a8f7',
    500: '#d581f3',
    950: '#000000',
  },
}
SCSS
$custom: #d581f3;
$custom-light: #e4a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d581f3",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 284.211,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73443,
    "c": 0.17913,
    "h": 316.6
  },
  "luminance": 0.36318
}

Semantic roles & 50–950 ramp

primary
#D581F3
secondary
#DFF4D7
accent
#DF063F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D581F3

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

Preview Lab → · Contrast checker → · Palette generator →

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