#A481F2#A481F2

#A481F2 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.164 H 296.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A481F2
RGBrgb(164, 129, 242)
HSLhsl(259, 81%, 73%)
HSVhsv(259, 47%, 95%)
CMYKcmyk(32.2%, 46.7%, 0%, 5.1%)
CIE-LABlab(61.66, 37.40, -52.20)
CIE-LCHlch(61.66, 64.22, 305.62°)
OKLaboklab(68.47% 0.0719 -0.147)
OKLCHoklch(68.47% 0.164 296.1)
XYZxyz(39.1831, 30.0033, 87.7140)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481F2 #CFF281
analogous
#8196F2 #A481F2 #DC81F2
triadic
#A481F2 #F2A481 #81F2A4
tetradic
#A481F2 #F28196 #CFF281 #81F2DC
square
#A481F2 #F28196 #CFF281 #81F2DC
split-complementary
#A481F2 #F2DC81 #96F281
monochromatic
#5617E1 #7C4AEC #A481F2 #CCB8F8 #EBE3FC

Accessibility & contrast

On white

3.00
#A481F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#A481F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A481F2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481F2#FFFFFF#000000##000000
##A481F21.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#9396AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a481f2;
/* rgb */ color: rgb(164, 129, 242);
/* oklch */ color: oklch(68.5% 0.164 296.1);
Tailwind
colors: {
  custom: {
    50: '#c2a6f7',
    500: '#a481f2',
    950: '#000000',
  },
}
SCSS
$custom: #a481f2;
$custom-light: #c2a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a481f2",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 258.584,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.16362,
    "h": 296.1
  },
  "luminance": 0.30004
}

Semantic roles & 50–950 ramp

primary
#A481F2
secondary
#EBF4D7
accent
#DE089B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A481F2

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

Preview Lab → · Contrast checker → · Palette generator →

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