#D481EA#D481EA

#D481EA is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.169 H 319.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#D481EA
RGBrgb(212, 129, 234)
HSLhsl(287, 71%, 71%)
HSVhsv(287, 45%, 92%)
CMYKcmyk(9.4%, 44.9%, 0%, 8.2%)
CIE-LABlab(66.24, 48.73, -40.22)
CIE-LCHlch(66.24, 63.18, 320.46°)
OKLaboklab(72.9% 0.1277 -0.1111)
OKLCHoklch(72.9% 0.169 319)
XYZxyz(49.8510, 35.6398, 82.0791)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481EA #97EA81
analogous
#9F81EA #D481EA #EA81CB
triadic
#D481EA #EAD481 #81EAD4
tetradic
#D481EA #EA9F81 #97EA81 #81CBEA
square
#D481EA #EA9F81 #97EA81 #81CBEA
split-complementary
#D481EA #CBEA81 #81EA9F
monochromatic
#AA22CE #C24DE1 #D481EA #E6B5F3 #F6E5FB

Accessibility & contrast

On white

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

On black

8.13
#D481EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481EA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481EA#FFFFFF#000000##000000
##D481EA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#D58FAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d481ea;
/* rgb */ color: rgb(212, 129, 234);
/* oklch */ color: oklch(72.9% 0.169 319.0);
Tailwind
colors: {
  custom: {
    50: '#e3a8f1',
    500: '#d481ea',
    950: '#000000',
  },
}
SCSS
$custom: #d481ea;
$custom-light: #e3a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d481ea",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 287.429,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72899,
    "c": 0.16927,
    "h": 319
  },
  "luminance": 0.35638
}

Semantic roles & 50–950 ramp

primary
#D481EA
secondary
#DBF1D6
accent
#D3123B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D481EA

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

Preview Lab → · Contrast checker → · Palette generator →

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