#D582F8#D582F8

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

Color values

HEX#D582F8
RGBrgb(213, 130, 248)
HSLhsl(282, 89%, 74%)
HSVhsv(282, 48%, 97%)
CMYKcmyk(14.1%, 47.6%, 0%, 2.7%)
CIE-LABlab(67.19, 51.29, -46.42)
CIE-LCHlch(67.19, 69.18, 317.85°)
OKLaboklab(73.84% 0.1296 -0.129)
OKLCHoklch(73.84% 0.183 315.1)
XYZxyz(52.3638, 36.8901, 93.1508)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D582F8 #A5F882
analogous
#9A82F8 #D582F8 #F882E0
triadic
#D582F8 #F8D582 #82F8D5
tetradic
#D582F8 #F89A82 #A5F882 #82E0F8
square
#D582F8 #F89A82 #A5F882 #82E0F8
split-complementary
#D582F8 #E0F882 #82F89A
monochromatic
#AE0EF2 #C248F5 #D582F8 #E8BCFB #F5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D582F8#FFFFFF#000000##000000
##D582F81.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)
#6A9FFC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#D394B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d582f8;
/* rgb */ color: rgb(213, 130, 248);
/* oklch */ color: oklch(73.8% 0.183 315.1);
Tailwind
colors: {
  custom: {
    50: '#e4a8fb',
    500: '#d582f8',
    950: '#000000',
  },
}
SCSS
$custom: #d582f8;
$custom-light: #e4a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d582f8",
  "rgb": {
    "r": 213,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 282.203,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.18281,
    "h": 315.1
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D582F8

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

Preview Lab → · Contrast checker → · Palette generator →

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