#A481F7#A481F7

#A481F7 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.170 H 295.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A481F7
RGBrgb(164, 129, 247)
HSLhsl(258, 88%, 74%)
HSVhsv(258, 48%, 97%)
CMYKcmyk(33.6%, 47.8%, 0%, 3.1%)
CIE-LABlab(61.92, 38.66, -54.54)
CIE-LCHlch(61.92, 66.86, 305.33°)
OKLaboklab(68.75% 0.0725 -0.1538)
OKLCHoklch(68.75% 0.17 295.2)
XYZxyz(39.9444, 30.3078, 91.7231)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481F7 #D4F781
analogous
#8199F7 #A481F7 #DF81F7
triadic
#A481F7 #F7A481 #81F7A4
tetradic
#A481F7 #F78199 #D4F781 #81F7DF
square
#A481F7 #F78199 #D4F781 #81F7DF
split-complementary
#A481F7 #F7DF81 #99F781
monochromatic
#510FEE #7A47F3 #A481F7 #CEBBFB #EAE2FD

Accessibility & contrast

On white

2.97
#A481F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A481F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A481F7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481F7#FFFFFF#000000##000000
##A481F71.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#9198B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a481f7;
/* rgb */ color: rgb(164, 129, 247);
/* oklch */ color: oklch(68.7% 0.170 295.2);
Tailwind
colors: {
  custom: {
    50: '#c2a6fa',
    500: '#a481f7',
    950: '#000000',
  },
}
SCSS
$custom: #a481f7;
$custom-light: #c2a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a481f7",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 257.797,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68747,
    "c": 0.17003,
    "h": 295.2
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A481F7

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

Preview Lab → · Contrast checker → · Palette generator →

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