#A381DB#A381DB

#A381DB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.1% C 0.134 H 300.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A381DB
RGBrgb(163, 129, 219)
HSLhsl(263, 56%, 68%)
HSVhsv(263, 41%, 86%)
CMYKcmyk(25.6%, 41.1%, 0%, 14.1%)
CIE-LABlab(60.43, 31.45, -41.37)
CIE-LCHlch(60.43, 51.97, 307.25°)
OKLaboklab(67.15% 0.0673 -0.1154)
OKLCHoklch(67.15% 0.134 300.2)
XYZxyz(35.7378, 28.6014, 70.6419)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381DB #B9DB81
analogous
#818CDB #A381DB #D081DB
triadic
#A381DB #DBA381 #81DBA3
tetradic
#A381DB #DB818C #B9DB81 #81DBD0
square
#A381DB #DB818C #B9DB81 #81DBD0
split-complementary
#A381DB #DBD081 #8CDB81
monochromatic
#6132AF #8051CD #A381DB #C6B1E9 #E9E0F6

Accessibility & contrast

On white

3.12
#A381DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A381DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381DB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381DB#FFFFFF#000000##000000
##A381DB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DE
Deuteranopia (green-blind)
#7091D9
Tritanopia (blue-blind)
#9990A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a381db;
/* rgb */ color: rgb(163, 129, 219);
/* oklch */ color: oklch(67.1% 0.134 300.2);
Tailwind
colors: {
  custom: {
    50: '#c0a6e6',
    500: '#a381db',
    950: '#000000',
  },
}
SCSS
$custom: #a381db;
$custom-light: #c0a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a381db",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 262.667,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.13364,
    "h": 300.2
  },
  "luminance": 0.28602
}

Semantic roles & 50–950 ramp

primary
#A381DB
secondary
#DFEACE
accent
#C32286
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A381DB

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

Preview Lab → · Contrast checker → · Palette generator →

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