#D581FC#D581FC

#D581FC is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.9% C 0.189 H 314.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D581FC
RGBrgb(213, 129, 252)
HSLhsl(281, 95%, 75%)
HSVhsv(281, 49%, 99%)
CMYKcmyk(15.5%, 48.8%, 0%, 1.2%)
CIE-LABlab(67.18, 52.63, -48.63)
CIE-LCHlch(67.18, 71.65, 317.26°)
OKLaboklab(73.89% 0.1314 -0.1354)
OKLCHoklch(73.89% 0.189 314.1)
XYZxyz(52.8587, 36.8763, 96.4099)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581FC #A8FC81
analogous
#9881FC #D581FC #FC81E5
triadic
#D581FC #FCD581 #81FCD5
tetradic
#D581FC #FC9881 #A8FC81 #81E5FC
square
#D581FC #FC9881 #A8FC81 #81E5FC
split-complementary
#D581FC #E5FC81 #81FC98
monochromatic
#AD09F9 #C145FB #D581FC #E9BDFD #F5E1FE

Accessibility & contrast

On white

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

On black

8.38
#D581FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581FC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581FC#FFFFFF#000000##000000
##D581FC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#D294B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d581fc;
/* rgb */ color: rgb(213, 129, 252);
/* oklch */ color: oklch(73.9% 0.189 314.1);
Tailwind
colors: {
  custom: {
    50: '#e4a8fe',
    500: '#d581fc',
    950: '#000000',
  },
}
SCSS
$custom: #d581fc;
$custom-light: #e4a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d581fc",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 280.976,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73893,
    "c": 0.18865,
    "h": 314.1
  },
  "luminance": 0.36875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D581FC

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

Preview Lab → · Contrast checker → · Palette generator →

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