#D481FC#D481FC

#D481FC is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.188 H 313.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D481FC
RGBrgb(212, 129, 252)
HSLhsl(280, 95%, 75%)
HSVhsv(280, 49%, 99%)
CMYKcmyk(15.9%, 48.8%, 0%, 1.2%)
CIE-LABlab(67.07, 52.36, -48.81)
CIE-LCHlch(67.07, 71.58, 317.01°)
OKLaboklab(73.79% 0.1302 -0.1359)
OKLCHoklch(73.79% 0.188 313.8)
XYZxyz(52.5694, 36.7272, 96.3964)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481FC #A9FC81
analogous
#9781FC #D481FC #FC81E6
triadic
#D481FC #FCD481 #81FCD4
tetradic
#D481FC #FC9781 #A9FC81 #81E6FC
square
#D481FC #FC9781 #A9FC81 #81E6FC
split-complementary
#D481FC #E6FC81 #81FC97
monochromatic
#AB09F9 #C045FB #D481FC #E8BDFD #F5E1FE

Accessibility & contrast

On white

2.52
#D481FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#D481FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481FC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481FC#FFFFFF#000000##000000
##D481FC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#D194B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d481fc;
/* rgb */ color: rgb(212, 129, 252);
/* oklch */ color: oklch(73.8% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#e3a8fe',
    500: '#d481fc',
    950: '#000000',
  },
}
SCSS
$custom: #d481fc;
$custom-light: #e3a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d481fc",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 280.488,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.18824,
    "h": 313.8
  },
  "luminance": 0.36726
}

Semantic roles & 50–950 ramp

primary
#D481FC
secondary
#E0F7D4
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D481FC

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

Preview Lab → · Contrast checker → · Palette generator →

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