#A381DF#A381DF

#A381DF is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.4% C 0.139 H 299.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A381DF
RGBrgb(163, 129, 223)
HSLhsl(262, 59%, 69%)
HSVhsv(262, 42%, 87%)
CMYKcmyk(26.9%, 42.2%, 0%, 12.5%)
CIE-LABlab(60.62, 32.42, -43.30)
CIE-LCHlch(60.62, 54.10, 306.82°)
OKLaboklab(67.35% 0.068 -0.1211)
OKLCHoklch(67.35% 0.139 299.3)
XYZxyz(36.2707, 28.8145, 73.4486)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381DF #BDDF81
analogous
#818EDF #A381DF #D281DF
triadic
#A381DF #DFA381 #81DFA3
tetradic
#A381DF #DF818E #BDDF81 #81DFD2
square
#A381DF #DF818E #BDDF81 #81DFD2
split-complementary
#A381DF #DFD281 #8EDF81
monochromatic
#602FB7 #7F50D3 #A381DF #C7B2EB #EAE3F8

Accessibility & contrast

On white

3.11
#A381DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A381DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381DF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381DF#FFFFFF#000000##000000
##A381DF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E2
Deuteranopia (green-blind)
#6E91DD
Tritanopia (blue-blind)
#9791A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a381df;
/* rgb */ color: rgb(163, 129, 223);
/* oklch */ color: oklch(67.4% 0.139 299.3);
Tailwind
colors: {
  custom: {
    50: '#c0a6e9',
    500: '#a381df',
    950: '#000000',
  },
}
SCSS
$custom: #a381df;
$custom-light: #c0a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a381df",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 261.702,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67353,
    "c": 0.13886,
    "h": 299.3
  },
  "luminance": 0.28815
}

Semantic roles & 50–950 ramp

primary
#A381DF
secondary
#E2ECD0
accent
#C71E8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A381DF

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

Preview Lab → · Contrast checker → · Palette generator →

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