#A381EA#A381EA

#A381EA is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.153 H 297.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A381EA
RGBrgb(163, 129, 234)
HSLhsl(259, 71%, 71%)
HSVhsv(259, 45%, 92%)
CMYKcmyk(30.3%, 44.9%, 0%, 8.2%)
CIE-LABlab(61.16, 35.13, -48.57)
CIE-LCHlch(61.16, 59.95, 305.88°)
OKLaboklab(67.94% 0.0697 -0.1364)
OKLCHoklch(67.94% 0.153 297.1)
XYZxyz(37.8022, 29.4271, 81.5144)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381EA #C8EA81
analogous
#8193EA #A381EA #D881EA
triadic
#A381EA #EAA381 #81EAA3
tetradic
#A381EA #EA8193 #C8EA81 #81EAD8
square
#A381EA #EA8193 #C8EA81 #81EAD8
split-complementary
#A381EA #EAD881 #93EA81
monochromatic
#5A22CE #7D4DE1 #A381EA #C9B5F3 #ECE5FB

Accessibility & contrast

On white

3.05
#A381EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A381EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381EA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381EA#FFFFFF#000000##000000
##A381EA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#9494AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a381ea;
/* rgb */ color: rgb(163, 129, 234);
/* oklch */ color: oklch(67.9% 0.153 297.1);
Tailwind
colors: {
  custom: {
    50: '#c1a6f1',
    500: '#a381ea',
    950: '#000000',
  },
}
SCSS
$custom: #a381ea;
$custom-light: #c1a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a381ea",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 259.429,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67935,
    "c": 0.15318,
    "h": 297.1
  },
  "luminance": 0.29428
}

Semantic roles & 50–950 ramp

primary
#A381EA
secondary
#E8F1D6
accent
#D31295
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A381EA

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

Preview Lab → · Contrast checker → · Palette generator →

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