#D481ED#D481ED

#D481ED is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.172 H 318.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D481ED
RGBrgb(212, 129, 237)
HSLhsl(286, 75%, 72%)
HSVhsv(286, 46%, 93%)
CMYKcmyk(10.5%, 45.6%, 0%, 7.1%)
CIE-LABlab(66.38, 49.32, -41.67)
CIE-LCHlch(66.38, 64.57, 319.81°)
OKLaboklab(73.04% 0.1282 -0.1152)
OKLCHoklch(73.04% 0.172 318)
XYZxyz(50.2856, 35.8136, 84.3682)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481ED #9AED81
analogous
#9E81ED #D481ED #ED81D0
triadic
#D481ED #EDD481 #81EDD4
tetradic
#D481ED #ED9E81 #9AED81 #81D0ED
square
#D481ED #ED9E81 #9AED81 #81D0ED
split-complementary
#D481ED #D0ED81 #81ED9E
monochromatic
#AB1ED5 #C24BE5 #D481ED #E6B7F5 #F6E4FB

Accessibility & contrast

On white

2.57
#D481ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D481ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481ED
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481ED#FFFFFF#000000##000000
##D481ED1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#D490AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d481ed;
/* rgb */ color: rgb(212, 129, 237);
/* oklch */ color: oklch(73.0% 0.172 318.0);
Tailwind
colors: {
  custom: {
    50: '#e3a8f3',
    500: '#d481ed',
    950: '#000000',
  },
}
SCSS
$custom: #d481ed;
$custom-light: #e3a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d481ed",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 286.111,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73042,
    "c": 0.17238,
    "h": 318
  },
  "luminance": 0.35812
}

Semantic roles & 50–950 ramp

primary
#D481ED
secondary
#DEF3D7
accent
#D70E3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D481ED

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

Preview Lab → · Contrast checker → · Palette generator →

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