#D481FA#D481FA

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

Color values

HEX#D481FA
RGBrgb(212, 129, 250)
HSLhsl(281, 92%, 74%)
HSVhsv(281, 48%, 98%)
CMYKcmyk(15.2%, 48.4%, 0%, 2%)
CIE-LABlab(66.98, 51.95, -47.87)
CIE-LCHlch(66.98, 70.64, 317.34°)
OKLaboklab(73.68% 0.13 -0.1332)
OKLCHoklch(73.68% 0.186 314.3)
XYZxyz(52.2542, 36.6011, 94.7360)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481FA #A7FA81
analogous
#9881FA #D481FA #FA81E4
triadic
#D481FA #FAD481 #81FAD4
tetradic
#D481FA #FA9881 #A7FA81 #81E4FA
square
#D481FA #FA9881 #A7FA81 #81E4FA
split-complementary
#D481FA #E4FA81 #81FA98
monochromatic
#AC0BF5 #C046F8 #D481FA #E8BCFC #F5E2FE

Accessibility & contrast

On white

2.52
#D481FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#D481FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481FA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481FA#FFFFFF#000000##000000
##D481FA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#D193B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d481fa;
/* rgb */ color: rgb(212, 129, 250);
/* oklch */ color: oklch(73.7% 0.186 314.3);
Tailwind
colors: {
  custom: {
    50: '#e3a8fc',
    500: '#d481fa',
    950: '#000000',
  },
}
SCSS
$custom: #d481fa;
$custom-light: #e3a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d481fa",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 281.157,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73684,
    "c": 0.1861,
    "h": 314.3
  },
  "luminance": 0.366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D481FA

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

Preview Lab → · Contrast checker → · Palette generator →

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