#D481F7#D481F7

#D481F7 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.5% C 0.183 H 315.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D481F7
RGBrgb(212, 129, 247)
HSLhsl(282, 88%, 74%)
HSVhsv(282, 48%, 97%)
CMYKcmyk(14.2%, 47.8%, 0%, 3.1%)
CIE-LABlab(66.84, 51.33, -46.45)
CIE-LCHlch(66.84, 69.23, 317.86°)
OKLaboklab(73.53% 0.1296 -0.1291)
OKLCHoklch(73.53% 0.183 315.1)
XYZxyz(51.7875, 36.4144, 92.2783)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481F7 #A4F781
analogous
#9981F7 #D481F7 #F781DF
triadic
#D481F7 #F7D481 #81F7D4
tetradic
#D481F7 #F79981 #A4F781 #81DFF7
square
#D481F7 #F79981 #A4F781 #81DFF7
split-complementary
#D481F7 #DFF781 #81F799
monochromatic
#AC0FEE #C047F3 #D481F7 #E8BBFB #F5E2FD

Accessibility & contrast

On white

2.54
#D481F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D481F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481F7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481F7#FFFFFF#000000##000000
##D481F71.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#D293B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d481f7;
/* rgb */ color: rgb(212, 129, 247);
/* oklch */ color: oklch(73.5% 0.183 315.1);
Tailwind
colors: {
  custom: {
    50: '#e3a8fa',
    500: '#d481f7',
    950: '#000000',
  },
}
SCSS
$custom: #d481f7;
$custom-light: #e3a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d481f7",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 282.203,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.18291,
    "h": 315.1
  },
  "luminance": 0.36413
}

Semantic roles & 50–950 ramp

primary
#D481F7
secondary
#DFF5D6
accent
#E50144
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D481F7

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

Preview Lab → · Contrast checker → · Palette generator →

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