#D481FE#D481FE

#D481FE is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.9% C 0.190 H 313.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D481FE
RGBrgb(212, 129, 254)
HSLhsl(280, 98%, 75%)
HSVhsv(280, 49%, 100%)
CMYKcmyk(16.5%, 49.2%, 0%, 0.4%)
CIE-LABlab(67.17, 52.77, -49.76)
CIE-LCHlch(67.17, 72.53, 316.68°)
OKLaboklab(73.89% 0.1305 -0.1386)
OKLCHoklch(73.89% 0.19 313.3)
XYZxyz(52.8880, 36.8546, 98.0743)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481FE #ABFE81
analogous
#9581FE #D481FE #FE81E9
triadic
#D481FE #FED481 #81FED4
tetradic
#D481FE #FE9581 #ABFE81 #81E9FE
square
#D481FE #FE9581 #ABFE81 #81E9FE
split-complementary
#D481FE #E9FE81 #81FE95
monochromatic
#AB08FD #BF44FE #D481FE #E9BEFE #F5E1FF

Accessibility & contrast

On white

2.51
#D481FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D481FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481FE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481FE#FFFFFF#000000##000000
##D481FE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#D095B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d481fe;
/* rgb */ color: rgb(212, 129, 254);
/* oklch */ color: oklch(73.9% 0.190 313.3);
Tailwind
colors: {
  custom: {
    50: '#e3a8ff',
    500: '#d481fe',
    950: '#000000',
  },
}
SCSS
$custom: #d481fe;
$custom-light: #e3a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d481fe",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 279.84,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.19038,
    "h": 313.3
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D481FE

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

Preview Lab → · Contrast checker → · Palette generator →

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