#A481E2#A481E2

#A481E2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.6% C 0.143 H 299.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A481E2
RGBrgb(164, 129, 226)
HSLhsl(262, 63%, 70%)
HSVhsv(262, 43%, 89%)
CMYKcmyk(27.4%, 42.9%, 0%, 11.4%)
CIE-LABlab(60.86, 33.43, -44.60)
CIE-LCHlch(60.86, 55.73, 306.85°)
OKLaboklab(67.6% 0.0697 -0.1248)
OKLCHoklch(67.6% 0.143 299.2)
XYZxyz(36.8844, 29.0838, 75.6073)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481E2 #BFE281
analogous
#818FE2 #A481E2 #D481E2
triadic
#A481E2 #E2A481 #81E2A4
tetradic
#A481E2 #E2818F #BFE281 #81E2D4
square
#A481E2 #E2818F #BFE281 #81E2D4
split-complementary
#A481E2 #E2D481 #8FE281
monochromatic
#602CBD #804FD7 #A481E2 #C8B3ED #ECE4F9

Accessibility & contrast

On white

3.08
#A481E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A481E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A481E2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481E2#FFFFFF#000000##000000
##A481E21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#6D92E0
Tritanopia (blue-blind)
#9892A7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a481e2;
/* rgb */ color: rgb(164, 129, 226);
/* oklch */ color: oklch(67.6% 0.143 299.2);
Tailwind
colors: {
  custom: {
    50: '#c1a6eb',
    500: '#a481e2',
    950: '#000000',
  },
}
SCSS
$custom: #a481e2;
$custom-light: #c1a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a481e2",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 261.649,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.14294,
    "h": 299.2
  },
  "luminance": 0.29084
}

Semantic roles & 50–950 ramp

primary
#A481E2
secondary
#E3EDD2
accent
#CA1B8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A481E2

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

Preview Lab → · Contrast checker → · Palette generator →

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