#A381EE#A381EE

#A381EE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.158 H 296.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A381EE
RGBrgb(163, 129, 238)
HSLhsl(259, 76%, 72%)
HSVhsv(259, 46%, 93%)
CMYKcmyk(31.5%, 45.8%, 0%, 6.7%)
CIE-LABlab(61.36, 36.13, -50.47)
CIE-LCHlch(61.36, 62.07, 305.60°)
OKLaboklab(68.15% 0.0703 -0.1419)
OKLCHoklch(68.15% 0.158 296.3)
XYZxyz(38.3833, 29.6596, 84.5750)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381EE #CCEE81
analogous
#8195EE #A381EE #DA81EE
triadic
#A381EE #EEA381 #81EEA3
tetradic
#A381EE #EE8195 #CCEE81 #81EEDA
square
#A381EE #EE8195 #CCEE81 #81EEDA
split-complementary
#A381EE #EEDA81 #95EE81
monochromatic
#571DD8 #7C4BE7 #A381EE #CAB7F5 #EBE4FB

Accessibility & contrast

On white

3.03
#A381EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A381EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381EE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381EE#FFFFFF#000000##000000
##A381EE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#6493EB
Tritanopia (blue-blind)
#9395AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a381ee;
/* rgb */ color: rgb(163, 129, 238);
/* oklch */ color: oklch(68.2% 0.158 296.3);
Tailwind
colors: {
  custom: {
    50: '#c1a6f4',
    500: '#a381ee',
    950: '#000000',
  },
}
SCSS
$custom: #a381ee;
$custom-light: #c1a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a381ee",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 258.716,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68153,
    "c": 0.15836,
    "h": 296.3
  },
  "luminance": 0.2966
}

Semantic roles & 50–950 ramp

primary
#A381EE
secondary
#EBF3D8
accent
#D80D99
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A381EE

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

Preview Lab → · Contrast checker → · Palette generator →

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