#A181F6#A181F6

#A181F6 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.4% C 0.169 H 294.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A181F6
RGBrgb(161, 129, 246)
HSLhsl(256, 87%, 74%)
HSVhsv(256, 48%, 96%)
CMYKcmyk(34.6%, 47.6%, 0%, 3.5%)
CIE-LABlab(61.59, 37.65, -54.53)
CIE-LCHlch(61.59, 66.26, 304.63°)
OKLaboklab(68.42% 0.0688 -0.1538)
OKLCHoklch(68.42% 0.169 294.1)
XYZxyz(39.1785, 29.9306, 90.8839)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181F6 #D6F681
analogous
#819BF6 #A181F6 #DB81F6
triadic
#A181F6 #F6A181 #81F6A1
tetradic
#A181F6 #F6819B #D6F681 #81F6DB
square
#A181F6 #F6819B #D6F681 #81F6DB
split-complementary
#A181F6 #F6DB81 #9BF681
monochromatic
#4D11EC #7648F2 #A181F6 #CCBAFA #EAE2FD

Accessibility & contrast

On white

3.01
#A181F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A181F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181F6
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181F6#FFFFFF#000000##000000
##A181F61.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#8D98B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a181f6;
/* rgb */ color: rgb(161, 129, 246);
/* oklch */ color: oklch(68.4% 0.169 294.1);
Tailwind
colors: {
  custom: {
    50: '#c0a6fa',
    500: '#a181f6',
    950: '#000000',
  },
}
SCSS
$custom: #a181f6;
$custom-light: #c0a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a181f6",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 256.41,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68422,
    "c": 0.16851,
    "h": 294.1
  },
  "luminance": 0.29931
}

Semantic roles & 50–950 ramp

primary
#A181F6
secondary
#EDF5D6
accent
#E302A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A181F6

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

Preview Lab → · Contrast checker → · Palette generator →

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