#A381EF#A381EF

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

Color values

HEX#A381EF
RGBrgb(163, 129, 239)
HSLhsl(259, 77%, 72%)
HSVhsv(259, 46%, 94%)
CMYKcmyk(31.8%, 46%, 0%, 6.3%)
CIE-LABlab(61.41, 36.38, -50.94)
CIE-LCHlch(61.41, 62.60, 305.53°)
OKLaboklab(68.21% 0.0704 -0.1433)
OKLCHoklch(68.21% 0.16 296.2)
XYZxyz(38.5306, 29.7185, 85.3509)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381EF #CDEF81
analogous
#8196EF #A381EF #DA81EF
triadic
#A381EF #EFA381 #81EFA3
tetradic
#A381EF #EF8196 #CDEF81 #81EFDA
square
#A381EF #EF8196 #CDEF81 #81EFDA
split-complementary
#A381EF #EFDA81 #96EF81
monochromatic
#561CDA #7B4BE8 #A381EF #CBB7F6 #EBE4FC

Accessibility & contrast

On white

3.02
#A381EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#A381EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381EF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381EF#FFFFFF#000000##000000
##A381EF1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#9296AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a381ef;
/* rgb */ color: rgb(163, 129, 239);
/* oklch */ color: oklch(68.2% 0.160 296.2);
Tailwind
colors: {
  custom: {
    50: '#c1a6f5',
    500: '#a381ef',
    950: '#000000',
  },
}
SCSS
$custom: #a381ef;
$custom-light: #c1a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a381ef",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 258.545,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68209,
    "c": 0.15965,
    "h": 296.2
  },
  "luminance": 0.29719
}

Semantic roles & 50–950 ramp

primary
#A381EF
secondary
#EBF3D8
accent
#DA0C9A
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A381EF

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

Preview Lab → · Contrast checker → · Palette generator →

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