#D582FB#D582FB

#D582FB is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.0% C 0.186 H 314.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D582FB
RGBrgb(213, 130, 251)
HSLhsl(281, 94%, 75%)
HSVhsv(281, 48%, 98%)
CMYKcmyk(15.1%, 48.2%, 0%, 1.6%)
CIE-LABlab(67.34, 51.91, -47.84)
CIE-LCHlch(67.34, 70.59, 317.33°)
OKLaboklab(73.99% 0.1299 -0.1331)
OKLCHoklch(73.99% 0.186 314.3)
XYZxyz(52.8330, 37.0778, 95.6217)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D582FB #A8FB82
analogous
#9982FB #D582FB #FB82E4
triadic
#D582FB #FBD582 #82FBD5
tetradic
#D582FB #FB9982 #A8FB82 #82E4FB
square
#D582FB #FB9982 #A8FB82 #82E4FB
split-complementary
#D582FB #E4FB82 #82FB99
monochromatic
#AD0BF7 #C147F9 #D582FB #E9BDFD #F5E1FE

Accessibility & contrast

On white

2.50
#D582FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#D582FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D582FB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D582FB#FFFFFF#000000##000000
##D582FB1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#D294B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d582fb;
/* rgb */ color: rgb(213, 130, 251);
/* oklch */ color: oklch(74.0% 0.186 314.3);
Tailwind
colors: {
  custom: {
    50: '#e4a8fd',
    500: '#d582fb',
    950: '#000000',
  },
}
SCSS
$custom: #d582fb;
$custom-light: #e4a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d582fb",
  "rgb": {
    "r": 213,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 281.157,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7399,
    "c": 0.186,
    "h": 314.3
  },
  "luminance": 0.37076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D582FB

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

Preview Lab → · Contrast checker → · Palette generator →

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