#D480FA#D480FA

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

Color values

HEX#D480FA
RGBrgb(212, 128, 250)
HSLhsl(281, 92%, 74%)
HSVhsv(281, 49%, 98%)
CMYKcmyk(15.2%, 48.8%, 0%, 2%)
CIE-LABlab(66.78, 52.46, -48.18)
CIE-LCHlch(66.78, 71.23, 317.43°)
OKLaboklab(73.54% 0.1313 -0.1341)
OKLCHoklch(73.54% 0.188 314.4)
XYZxyz(52.1231, 36.3389, 94.6923)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D480FA #A6FA80
analogous
#9780FA #D480FA #FA80E3
triadic
#D480FA #FAD480 #80FAD4
tetradic
#D480FA #FA9780 #A6FA80 #80E3FA
square
#D480FA #FA9780 #A6FA80 #80E3FA
split-complementary
#D480FA #E3FA80 #80FA97
monochromatic
#AC0AF5 #C045F8 #D480FA #E8BBFC #F5E2FE

Accessibility & contrast

On white

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

On black

8.27
#D480FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D480FA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D480FA#FFFFFF#000000##000000
##D480FA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#D193B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d480fa;
/* rgb */ color: rgb(212, 128, 250);
/* oklch */ color: oklch(73.5% 0.188 314.4);
Tailwind
colors: {
  custom: {
    50: '#e3a7fc',
    500: '#d480fa',
    950: '#000000',
  },
}
SCSS
$custom: #d480fa;
$custom-light: #e3a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d480fa",
  "rgb": {
    "r": 212,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 281.311,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73536,
    "c": 0.18768,
    "h": 314.4
  },
  "luminance": 0.36338
}

Semantic roles & 50–950 ramp

primary
#D480FA
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D480FA

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

Preview Lab → · Contrast checker → · Palette generator →

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