#A481FB#A481FB

#A481FB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.175 H 294.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A481FB
RGBrgb(164, 129, 251)
HSLhsl(257, 94%, 75%)
HSVhsv(257, 49%, 98%)
CMYKcmyk(34.7%, 48.6%, 0%, 1.6%)
CIE-LABlab(62.13, 39.68, -56.41)
CIE-LCHlch(62.13, 68.97, 305.13°)
OKLaboklab(68.97% 0.0729 -0.1592)
OKLCHoklch(68.97% 0.175 294.6)
XYZxyz(40.5682, 30.5573, 95.0089)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481FB #D8FB81
analogous
#819BFB #A481FB #E181FB
triadic
#A481FB #FBA481 #81FBA4
tetradic
#A481FB #FB819B #D8FB81 #81FBE1
square
#A481FB #FB819B #D8FB81 #81FBE1
split-complementary
#A481FB #FBE181 #9BFB81
monochromatic
#4E0AF7 #7946F9 #A481FB #CFBCFD #EAE1FE

Accessibility & contrast

On white

2.95
#A481FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A481FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A481FB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481FB#FFFFFF#000000##000000
##A481FB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#9099B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a481fb;
/* rgb */ color: rgb(164, 129, 251);
/* oklch */ color: oklch(69.0% 0.175 294.6);
Tailwind
colors: {
  custom: {
    50: '#c3a6fd',
    500: '#a481fb',
    950: '#000000',
  },
}
SCSS
$custom: #a481fb;
$custom-light: #c3a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a481fb",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 257.213,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68975,
    "c": 0.17514,
    "h": 294.6
  },
  "luminance": 0.30558
}

Semantic roles & 50–950 ramp

primary
#A481FB
secondary
#EDF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A481FB

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

Preview Lab → · Contrast checker → · Palette generator →

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