#D481EF#D481EF

#D481EF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.174 H 317.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D481EF
RGBrgb(212, 129, 239)
HSLhsl(285, 77%, 72%)
HSVhsv(285, 46%, 94%)
CMYKcmyk(11.3%, 46%, 0%, 6.3%)
CIE-LABlab(66.47, 49.72, -42.63)
CIE-LCHlch(66.47, 65.49, 319.39°)
OKLaboklab(73.14% 0.1285 -0.118)
OKLCHoklch(73.14% 0.174 317.4)
XYZxyz(50.5794, 35.9311, 85.9157)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481EF #9CEF81
analogous
#9D81EF #D481EF #EF81D3
triadic
#D481EF #EFD481 #81EFD4
tetradic
#D481EF #EF9D81 #9CEF81 #81D3EF
square
#D481EF #EF9D81 #9CEF81 #81D3EF
split-complementary
#D481EF #D3EF81 #81EF9D
monochromatic
#AB1CDA #C14BE8 #D481EF #E7B7F6 #F6E4FC

Accessibility & contrast

On white

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

On black

8.19
#D481EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481EF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481EF#FFFFFF#000000##000000
##D481EF1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#D490AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d481ef;
/* rgb */ color: rgb(212, 129, 239);
/* oklch */ color: oklch(73.1% 0.174 317.4);
Tailwind
colors: {
  custom: {
    50: '#e3a8f4',
    500: '#d481ef',
    950: '#000000',
  },
}
SCSS
$custom: #d481ef;
$custom-light: #e3a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d481ef",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 285.273,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73139,
    "c": 0.17447,
    "h": 317.4
  },
  "luminance": 0.3593
}

Semantic roles & 50–950 ramp

primary
#D481EF
secondary
#DEF3D8
accent
#DA0C3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D481EF

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

Preview Lab → · Contrast checker → · Palette generator →

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