#D481E2#D481E2

#D481E2 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.5% C 0.161 H 321.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D481E2
RGBrgb(212, 129, 226)
HSLhsl(291, 63%, 70%)
HSVhsv(291, 43%, 89%)
CMYKcmyk(6.2%, 42.9%, 0%, 11.4%)
CIE-LABlab(65.90, 47.17, -36.34)
CIE-LCHlch(65.90, 59.54, 322.39°)
OKLaboklab(72.53% 0.1263 -0.0999)
OKLCHoklch(72.53% 0.161 321.7)
XYZxyz(48.7275, 35.1904, 76.1624)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481E2 #8FE281
analogous
#A481E2 #D481E2 #E281C0
triadic
#D481E2 #E2D481 #81E2D4
tetradic
#D481E2 #E2A481 #8FE281 #81C0E2
square
#D481E2 #E2A481 #8FE281 #81C0E2
split-complementary
#D481E2 #C0E281 #81E2A4
monochromatic
#A82CBD #C34FD7 #D481E2 #E5B3ED #F6E4F9

Accessibility & contrast

On white

2.61
#D481E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D481E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481E2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481E2#FFFFFF#000000##000000
##D481E21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#8BA3DF
Tritanopia (blue-blind)
#D68DA7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d481e2;
/* rgb */ color: rgb(212, 129, 226);
/* oklch */ color: oklch(72.5% 0.161 321.7);
Tailwind
colors: {
  custom: {
    50: '#e3a7eb',
    500: '#d481e2',
    950: '#000000',
  },
}
SCSS
$custom: #d481e2;
$custom-light: #e3a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d481e2",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 291.34,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.16107,
    "h": 321.7
  },
  "luminance": 0.35189
}

Semantic roles & 50–950 ramp

primary
#D481E2
secondary
#D6EDD2
accent
#CA1B34
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D481E2

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

Preview Lab → · Contrast checker → · Palette generator →

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