#A381FA#A381FA

#A381FA is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.8% C 0.174 H 294.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A381FA
RGBrgb(163, 129, 250)
HSLhsl(257, 92%, 74%)
HSVhsv(257, 48%, 98%)
CMYKcmyk(34.8%, 48.4%, 0%, 2%)
CIE-LABlab(61.99, 39.18, -56.09)
CIE-LCHlch(61.99, 68.42, 304.93°)
OKLaboklab(68.83% 0.0716 -0.1583)
OKLCHoklch(68.83% 0.174 294.3)
XYZxyz(40.2054, 30.3884, 94.1712)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381FA #D8FA81
analogous
#819CFA #A381FA #E081FA
triadic
#A381FA #FAA381 #81FAA3
tetradic
#A381FA #FA819C #D8FA81 #81FAE0
square
#A381FA #FA819C #D8FA81 #81FAE0
split-complementary
#A381FA #FAE081 #9CFA81
monochromatic
#4D0BF5 #7846F8 #A381FA #CEBCFC #EAE2FE

Accessibility & contrast

On white

2.97
#A381FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A381FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A381FA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381FA#FFFFFF#000000##000000
##A381FA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#8E99B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a381fa;
/* rgb */ color: rgb(163, 129, 250);
/* oklch */ color: oklch(68.8% 0.174 294.3);
Tailwind
colors: {
  custom: {
    50: '#c2a6fc',
    500: '#a381fa',
    950: '#000000',
  },
}
SCSS
$custom: #a381fa;
$custom-light: #c2a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a381fa",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 256.86,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.17379,
    "h": 294.3
  },
  "luminance": 0.30389
}

Semantic roles & 50–950 ramp

primary
#A381FA
secondary
#EDF6D5
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A381FA

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

Preview Lab → · Contrast checker → · Palette generator →

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