#D481EB#D481EB

#D481EB is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.9% C 0.170 H 318.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D481EB
RGBrgb(212, 129, 235)
HSLhsl(287, 73%, 71%)
HSVhsv(287, 45%, 92%)
CMYKcmyk(9.8%, 45.1%, 0%, 7.8%)
CIE-LABlab(66.29, 48.92, -40.70)
CIE-LCHlch(66.29, 63.64, 320.24°)
OKLaboklab(72.95% 0.1279 -0.1125)
OKLCHoklch(72.95% 0.17 318.7)
XYZxyz(49.9950, 35.6974, 82.8379)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481EB #98EB81
analogous
#9F81EB #D481EB #EB81CD
triadic
#D481EB #EBD481 #81EBD4
tetradic
#D481EB #EB9F81 #98EB81 #81CDEB
square
#D481EB #EB9F81 #98EB81 #81CDEB
split-complementary
#D481EB #CDEB81 #81EB9F
monochromatic
#AA21D1 #C24CE3 #D481EB #E6B6F3 #F6E5FB

Accessibility & contrast

On white

2.58
#D481EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D481EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481EB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481EB#FFFFFF#000000##000000
##D481EB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#D48FAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d481eb;
/* rgb */ color: rgb(212, 129, 235);
/* oklch */ color: oklch(72.9% 0.170 318.7);
Tailwind
colors: {
  custom: {
    50: '#e3a8f2',
    500: '#d481eb',
    950: '#000000',
  },
}
SCSS
$custom: #d481eb;
$custom-light: #e3a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d481eb",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 286.981,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72947,
    "c": 0.1703,
    "h": 318.7
  },
  "luminance": 0.35696
}

Semantic roles & 50–950 ramp

primary
#D481EB
secondary
#DCF2D6
accent
#D5113B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D481EB

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

Preview Lab → · Contrast checker → · Palette generator →

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