#A381EB#A381EB

#A381EB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.0% C 0.154 H 296.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A381EB
RGBrgb(163, 129, 235)
HSLhsl(259, 73%, 71%)
HSVhsv(259, 45%, 92%)
CMYKcmyk(30.6%, 45.1%, 0%, 7.8%)
CIE-LABlab(61.21, 35.38, -49.05)
CIE-LCHlch(61.21, 60.48, 305.80°)
OKLaboklab(67.99% 0.0699 -0.1378)
OKLCHoklch(67.99% 0.154 296.9)
XYZxyz(37.9463, 29.4847, 82.2731)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381EB #C9EB81
analogous
#8194EB #A381EB #D881EB
triadic
#A381EB #EBA381 #81EBA3
tetradic
#A381EB #EB8194 #C9EB81 #81EBD8
square
#A381EB #EB8194 #C9EB81 #81EBD8
split-complementary
#A381EB #EBD881 #94EB81
monochromatic
#5921D1 #7C4CE3 #A381EB #CAB6F3 #ECE5FB

Accessibility & contrast

On white

3.04
#A381EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A381EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381EB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381EB#FFFFFF#000000##000000
##A381EB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#6693E8
Tritanopia (blue-blind)
#9494AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a381eb;
/* rgb */ color: rgb(163, 129, 235);
/* oklch */ color: oklch(68.0% 0.154 296.9);
Tailwind
colors: {
  custom: {
    50: '#c1a6f2',
    500: '#a381eb',
    950: '#000000',
  },
}
SCSS
$custom: #a381eb;
$custom-light: #c1a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a381eb",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 259.245,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67989,
    "c": 0.15447,
    "h": 296.9
  },
  "luminance": 0.29485
}

Semantic roles & 50–950 ramp

primary
#A381EB
secondary
#E9F2D6
accent
#D51196
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A381EB

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

Preview Lab → · Contrast checker → · Palette generator →

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