#A381FF#A381FF

#A381FF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.180 H 293.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A381FF
RGBrgb(163, 129, 255)
HSLhsl(256, 100%, 75%)
HSVhsv(256, 49%, 100%)
CMYKcmyk(36.1%, 49.4%, 0%, 0%)
CIE-LABlab(62.26, 40.47, -58.41)
CIE-LCHlch(62.26, 71.06, 304.72°)
OKLaboklab(69.12% 0.0721 -0.1651)
OKLCHoklch(69.12% 0.18 293.6)
XYZxyz(40.9998, 30.7062, 98.3551)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381FF #DDFF81
analogous
#819EFF #A381FF #E281FF
triadic
#A381FF #FFA381 #81FFA3
tetradic
#A381FF #FF819E #DDFF81 #81FFE2
square
#A381FF #FF819E #DDFF81 #81FFE2
split-complementary
#A381FF #FFE281 #9EFF81
monochromatic
#4A07FF #7644FF #A381FF #D0BEFF #E9E0FF

Accessibility & contrast

On white

2.94
#A381FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#A381FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A381FF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381FF#FFFFFF#000000##000000
##A381FF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#5794FC
Tritanopia (blue-blind)
#8C9AB4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a381ff;
/* rgb */ color: rgb(163, 129, 255);
/* oklch */ color: oklch(69.1% 0.180 293.6);
Tailwind
colors: {
  custom: {
    50: '#c2a6ff',
    500: '#a381ff',
    950: '#000000',
  },
}
SCSS
$custom: #a381ff;
$custom-light: #c2a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a381ff",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 256.19,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69119,
    "c": 0.18016,
    "h": 293.6
  },
  "luminance": 0.30707
}

Semantic roles & 50–950 ramp

primary
#A381FF
secondary
#EEF7D4
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A381FF

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

Preview Lab → · Contrast checker → · Palette generator →

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