#A481F9#A481F9

#A481F9 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.173 H 294.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A481F9
RGBrgb(164, 129, 249)
HSLhsl(258, 91%, 74%)
HSVhsv(258, 48%, 98%)
CMYKcmyk(34.1%, 48.2%, 0%, 2.4%)
CIE-LABlab(62.03, 39.17, -55.48)
CIE-LCHlch(62.03, 67.91, 305.23°)
OKLaboklab(68.86% 0.0727 -0.1565)
OKLCHoklch(68.86% 0.173 294.9)
XYZxyz(40.2546, 30.4319, 93.3573)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481F9 #D6F981
analogous
#819AF9 #A481F9 #E081F9
triadic
#A481F9 #F9A481 #81F9A4
tetradic
#A481F9 #F9819A #D6F981 #81F9E0
square
#A481F9 #F9819A #D6F981 #81F9E0
split-complementary
#A481F9 #F9E081 #9AF981
monochromatic
#500CF3 #7A47F6 #A481F9 #CEBBFC #EAE2FE

Accessibility & contrast

On white

2.96
#A481F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A481F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A481F9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481F9#FFFFFF#000000##000000
##A481F91.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#9098B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a481f9;
/* rgb */ color: rgb(164, 129, 249);
/* oklch */ color: oklch(68.9% 0.173 294.9);
Tailwind
colors: {
  custom: {
    50: '#c2a6fc',
    500: '#a481f9',
    950: '#000000',
  },
}
SCSS
$custom: #a481f9;
$custom-light: #c2a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a481f9",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 257.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68861,
    "c": 0.17258,
    "h": 294.9
  },
  "luminance": 0.30433
}

Semantic roles & 50–950 ramp

primary
#A481F9
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A481F9

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

Preview Lab → · Contrast checker → · Palette generator →

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