#A481F5#A481F5

#A481F5 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.167 H 295.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A481F5
RGBrgb(164, 129, 245)
HSLhsl(258, 85%, 73%)
HSVhsv(258, 47%, 96%)
CMYKcmyk(33.1%, 47.3%, 0%, 3.9%)
CIE-LABlab(61.81, 38.16, -53.61)
CIE-LCHlch(61.81, 65.80, 305.44°)
OKLaboklab(68.63% 0.0723 -0.1511)
OKLCHoklch(68.63% 0.167 295.6)
XYZxyz(39.6374, 30.1850, 90.1065)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481F5 #D2F581
analogous
#8198F5 #A481F5 #DE81F5
triadic
#A481F5 #F5A481 #81F5A4
tetradic
#A481F5 #F58198 #D2F581 #81F5DE
square
#A481F5 #F58198 #D2F581 #81F5DE
split-complementary
#A481F5 #F5DE81 #98F581
monochromatic
#5313E9 #7B48F0 #A481F5 #CDBAF9 #EBE3FD

Accessibility & contrast

On white

2.98
#A481F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A481F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A481F5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481F5#FFFFFF#000000##000000
##A481F51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#9297AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a481f5;
/* rgb */ color: rgb(164, 129, 245);
/* oklch */ color: oklch(68.6% 0.167 295.6);
Tailwind
colors: {
  custom: {
    50: '#c2a6f9',
    500: '#a481f5',
    950: '#000000',
  },
}
SCSS
$custom: #a481f5;
$custom-light: #c2a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a481f5",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 258.103,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68634,
    "c": 0.16747,
    "h": 295.6
  },
  "luminance": 0.30186
}

Semantic roles & 50–950 ramp

primary
#A481F5
secondary
#ECF5D6
accent
#E2049F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A481F5

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

Preview Lab → · Contrast checker → · Palette generator →

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