#A381FB#A381FB

#A381FB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.175 H 294.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A381FB
RGBrgb(163, 129, 251)
HSLhsl(257, 94%, 75%)
HSVhsv(257, 49%, 98%)
CMYKcmyk(35.1%, 48.6%, 0%, 1.6%)
CIE-LABlab(62.04, 39.44, -56.56)
CIE-LCHlch(62.04, 68.95, 304.89°)
OKLaboklab(68.89% 0.0717 -0.1597)
OKLCHoklch(68.89% 0.175 294.2)
XYZxyz(40.3626, 30.4513, 94.9992)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381FB #D9FB81
analogous
#819CFB #A381FB #E081FB
triadic
#A381FB #FBA381 #81FBA3
tetradic
#A381FB #FB819C #D9FB81 #81FBE0
square
#A381FB #FB819C #D9FB81 #81FBE0
split-complementary
#A381FB #FBE081 #9CFB81
monochromatic
#4C0AF7 #7846F9 #A381FB #CEBCFD #E9E1FE

Accessibility & contrast

On white

2.96
#A381FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A381FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A381FB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381FB#FFFFFF#000000##000000
##A381FB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#8E99B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a381fb;
/* rgb */ color: rgb(163, 129, 251);
/* oklch */ color: oklch(68.9% 0.175 294.2);
Tailwind
colors: {
  custom: {
    50: '#c2a6fd',
    500: '#a381fb',
    950: '#000000',
  },
}
SCSS
$custom: #a381fb;
$custom-light: #c2a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a381fb",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 256.721,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68886,
    "c": 0.17506,
    "h": 294.2
  },
  "luminance": 0.30452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A381FB

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

Preview Lab → · Contrast checker → · Palette generator →

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