#D481FB#D481FB

#D481FB is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.7% C 0.187 H 314.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D481FB
RGBrgb(212, 129, 251)
HSLhsl(281, 94%, 75%)
HSVhsv(281, 49%, 98%)
CMYKcmyk(15.5%, 48.6%, 0%, 1.6%)
CIE-LABlab(67.02, 52.15, -48.34)
CIE-LCHlch(67.02, 71.11, 317.17°)
OKLaboklab(73.74% 0.1301 -0.1345)
OKLCHoklch(73.74% 0.187 314)
XYZxyz(52.4114, 36.6639, 95.5640)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481FB #A8FB81
analogous
#9781FB #D481FB #FB81E5
triadic
#D481FB #FBD481 #81FBD4
tetradic
#D481FB #FB9781 #A8FB81 #81E5FB
square
#D481FB #FB9781 #A8FB81 #81E5FB
split-complementary
#D481FB #E5FB81 #81FB97
monochromatic
#AC0AF7 #C046F9 #D481FB #E8BCFD #F5E1FE

Accessibility & contrast

On white

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

On black

8.33
#D481FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481FB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481FB#FFFFFF#000000##000000
##D481FB1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#7FA5F8
Tritanopia (blue-blind)
#D194B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d481fb;
/* rgb */ color: rgb(212, 129, 251);
/* oklch */ color: oklch(73.7% 0.187 314.0);
Tailwind
colors: {
  custom: {
    50: '#e3a8fd',
    500: '#d481fb',
    950: '#000000',
  },
}
SCSS
$custom: #d481fb;
$custom-light: #e3a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d481fb",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 280.82,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.18717,
    "h": 314
  },
  "luminance": 0.36663
}

Semantic roles & 50–950 ramp

primary
#D481FB
secondary
#DFF6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D481FB

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

Preview Lab → · Contrast checker → · Palette generator →

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