#D481EC#D481EC

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

Color values

HEX#D481EC
RGBrgb(212, 129, 236)
HSLhsl(287, 74%, 72%)
HSVhsv(287, 45%, 93%)
CMYKcmyk(10.2%, 45.3%, 0%, 7.5%)
CIE-LABlab(66.33, 49.12, -41.19)
CIE-LCHlch(66.33, 64.10, 320.02°)
OKLaboklab(72.99% 0.128 -0.1139)
OKLCHoklch(72.99% 0.171 318.4)
XYZxyz(50.1399, 35.7553, 83.6009)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481EC #99EC81
analogous
#9F81EC #D481EC #EC81CF
triadic
#D481EC #ECD481 #81ECD4
tetradic
#D481EC #EC9F81 #99EC81 #81CFEC
square
#D481EC #EC9F81 #99EC81 #81CFEC
split-complementary
#D481EC #CFEC81 #81EC9F
monochromatic
#AB20D3 #C24CE4 #D481EC #E6B6F4 #F6E4FB

Accessibility & contrast

On white

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

On black

8.15
#D481EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481EC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481EC#FFFFFF#000000##000000
##D481EC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#D48FAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d481ec;
/* rgb */ color: rgb(212, 129, 236);
/* oklch */ color: oklch(73.0% 0.171 318.4);
Tailwind
colors: {
  custom: {
    50: '#e3a8f2',
    500: '#d481ec',
    950: '#000000',
  },
}
SCSS
$custom: #d481ec;
$custom-light: #e3a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d481ec",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 286.542,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72994,
    "c": 0.17134,
    "h": 318.4
  },
  "luminance": 0.35754
}

Semantic roles & 50–950 ramp

primary
#D481EC
secondary
#DDF2D7
accent
#D6103C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D481EC

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

Preview Lab → · Contrast checker → · Palette generator →

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