#D580F7#D580F7

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

Color values

HEX#D580F7
RGBrgb(213, 128, 247)
HSLhsl(283, 88%, 74%)
HSVhsv(283, 48%, 97%)
CMYKcmyk(13.8%, 48.2%, 0%, 3.1%)
CIE-LABlab(66.75, 52.12, -46.58)
CIE-LCHlch(66.75, 69.90, 318.21°)
OKLaboklab(73.49% 0.1321 -0.1294)
OKLCHoklch(73.49% 0.185 315.6)
XYZxyz(51.9457, 36.3014, 92.2482)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D580F7 #A2F780
analogous
#9980F7 #D580F7 #F780DD
triadic
#D580F7 #F7D580 #80F7D5
tetradic
#D580F7 #F79980 #A2F780 #80DDF7
square
#D580F7 #F79980 #A2F780 #80DDF7
split-complementary
#D580F7 #DDF780 #80F799
monochromatic
#AE0FEE #C246F3 #D580F7 #E8BAFB #F5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D580F7#FFFFFF#000000##000000
##D580F71.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)
#689DFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#D392B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d580f7;
/* rgb */ color: rgb(213, 128, 247);
/* oklch */ color: oklch(73.5% 0.185 315.6);
Tailwind
colors: {
  custom: {
    50: '#e4a7fa',
    500: '#d580f7',
    950: '#000000',
  },
}
SCSS
$custom: #d580f7;
$custom-light: #e4a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d580f7",
  "rgb": {
    "r": 213,
    "g": 128,
    "b": 247
  },
  "hsl": {
    "h": 282.857,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73494,
    "c": 0.18494,
    "h": 315.6
  },
  "luminance": 0.363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D580F7

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

Preview Lab → · Contrast checker → · Palette generator →

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