#A381E9#A381E9

#A381E9 is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.152 H 297.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A381E9
RGBrgb(163, 129, 233)
HSLhsl(260, 70%, 71%)
HSVhsv(260, 45%, 91%)
CMYKcmyk(30%, 44.6%, 0%, 8.6%)
CIE-LABlab(61.11, 34.88, -48.10)
CIE-LCHlch(61.11, 59.41, 305.95°)
OKLaboklab(67.88% 0.0696 -0.135)
OKLCHoklch(67.88% 0.152 297.3)
XYZxyz(37.6589, 29.3698, 80.7599)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381E9 #C7E981
analogous
#8193E9 #A381E9 #D781E9
triadic
#A381E9 #E9A381 #81E9A3
tetradic
#A381E9 #E98193 #C7E981 #81E9D7
square
#A381E9 #E98193 #C7E981 #81E9D7
split-complementary
#A381E9 #E9D781 #93E981
monochromatic
#5B24CC #7D4DE0 #A381E9 #C9B5F2 #ECE5FA

Accessibility & contrast

On white

3.05
#A381E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A381E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381E9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381E9#FFFFFF#000000##000000
##A381E91.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194ED
Deuteranopia (green-blind)
#6892E6
Tritanopia (blue-blind)
#9494AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a381e9;
/* rgb */ color: rgb(163, 129, 233);
/* oklch */ color: oklch(67.9% 0.152 297.3);
Tailwind
colors: {
  custom: {
    50: '#c1a6f0',
    500: '#a381e9',
    950: '#000000',
  },
}
SCSS
$custom: #a381e9;
$custom-light: #c1a6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a381e9",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 259.615,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.15188,
    "h": 297.3
  },
  "luminance": 0.2937
}

Semantic roles & 50–950 ramp

primary
#A381E9
secondary
#E8F1D5
accent
#D21394
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A381E9

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

Preview Lab → · Contrast checker → · Palette generator →

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