#A381F6#A381F6

#A381F6 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.169 H 295.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A381F6
RGBrgb(163, 129, 246)
HSLhsl(257, 87%, 74%)
HSVhsv(257, 48%, 96%)
CMYKcmyk(33.7%, 47.6%, 0%, 3.5%)
CIE-LABlab(61.77, 38.16, -54.23)
CIE-LCHlch(61.77, 66.31, 305.13°)
OKLaboklab(68.6% 0.0712 -0.1529)
OKLCHoklch(68.6% 0.169 295)
XYZxyz(39.5848, 30.1402, 90.9030)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381F6 #D4F681
analogous
#8199F6 #A381F6 #DD81F6
triadic
#A381F6 #F6A381 #81F6A3
tetradic
#A381F6 #F68199 #D4F681 #81F6DD
square
#A381F6 #F68199 #D4F681 #81F6DD
split-complementary
#A381F6 #F6DD81 #99F681
monochromatic
#5011EC #7948F2 #A381F6 #CDBAFA #EAE2FD

Accessibility & contrast

On white

2.99
#A381F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A381F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A381F6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381F6#FFFFFF#000000##000000
##A381F61.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#5F93F3
Tritanopia (blue-blind)
#9097B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a381f6;
/* rgb */ color: rgb(163, 129, 246);
/* oklch */ color: oklch(68.6% 0.169 295.0);
Tailwind
colors: {
  custom: {
    50: '#c2a6fa',
    500: '#a381f6',
    950: '#000000',
  },
}
SCSS
$custom: #a381f6;
$custom-light: #c2a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a381f6",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 257.436,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.686,
    "c": 0.16866,
    "h": 295
  },
  "luminance": 0.30141
}

Semantic roles & 50–950 ramp

primary
#A381F6
secondary
#ECF5D6
accent
#E302A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A381F6

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

Preview Lab → · Contrast checker → · Palette generator →

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