#D481F6#D481F6

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

Color values

HEX#D481F6
RGBrgb(212, 129, 246)
HSLhsl(283, 87%, 74%)
HSVhsv(283, 48%, 96%)
CMYKcmyk(13.8%, 47.6%, 0%, 3.5%)
CIE-LABlab(66.79, 51.13, -45.97)
CIE-LCHlch(66.79, 68.76, 318.04°)
OKLaboklab(73.48% 0.1295 -0.1277)
OKLCHoklch(73.48% 0.182 315.4)
XYZxyz(51.6336, 36.3528, 91.4678)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481F6 #A3F681
analogous
#9981F6 #D481F6 #F681DD
triadic
#D481F6 #F6D481 #81F6D4
tetradic
#D481F6 #F69981 #A3F681 #81DDF6
square
#D481F6 #F69981 #A3F681 #81DDF6
split-complementary
#D481F6 #DDF681 #81F699
monochromatic
#AC11EC #C148F2 #D481F6 #E7BAFA #F5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D481F6#FFFFFF#000000##000000
##D481F61.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)
#699DFA
Deuteranopia (green-blind)
#81A5F3
Tritanopia (blue-blind)
#D292B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d481f6;
/* rgb */ color: rgb(212, 129, 246);
/* oklch */ color: oklch(73.5% 0.182 315.4);
Tailwind
colors: {
  custom: {
    50: '#e3a8f9',
    500: '#d481f6',
    950: '#000000',
  },
}
SCSS
$custom: #d481f6;
$custom-light: #e3a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d481f6",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 282.564,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73483,
    "c": 0.18185,
    "h": 315.4
  },
  "luminance": 0.36351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D481F6

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

Preview Lab → · Contrast checker → · Palette generator →

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