#D481F2#D481F2

#D481F2 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.3% C 0.178 H 316.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D481F2
RGBrgb(212, 129, 242)
HSLhsl(284, 81%, 73%)
HSVhsv(284, 47%, 95%)
CMYKcmyk(12.4%, 46.7%, 0%, 5.1%)
CIE-LABlab(66.60, 50.32, -44.07)
CIE-LCHlch(66.60, 66.89, 318.79°)
OKLaboklab(73.29% 0.1289 -0.1222)
OKLCHoklch(73.29% 0.178 316.5)
XYZxyz(51.0263, 36.1099, 88.2692)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481F2 #9FF281
analogous
#9C81F2 #D481F2 #F281D7
triadic
#D481F2 #F2D481 #81F2D4
tetradic
#D481F2 #F29C81 #9FF281 #81D7F2
square
#D481F2 #F29C81 #9FF281 #81D7F2
split-complementary
#D481F2 #D7F281 #81F29C
monochromatic
#AC17E1 #C14AEC #D481F2 #E7B8F8 #F6E3FC

Accessibility & contrast

On white

2.55
#D481F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D481F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481F2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481F2#FFFFFF#000000##000000
##D481F21.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#83A5EF
Tritanopia (blue-blind)
#D391AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d481f2;
/* rgb */ color: rgb(212, 129, 242);
/* oklch */ color: oklch(73.3% 0.178 316.5);
Tailwind
colors: {
  custom: {
    50: '#e3a8f7',
    500: '#d481f2',
    950: '#000000',
  },
}
SCSS
$custom: #d481f2;
$custom-light: #e3a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d481f2",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 284.071,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73285,
    "c": 0.17763,
    "h": 316.5
  },
  "luminance": 0.36108
}

Semantic roles & 50–950 ramp

primary
#D481F2
secondary
#DFF4D7
accent
#DE0841
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D481F2

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

Preview Lab → · Contrast checker → · Palette generator →

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