#A181F5#A181F5

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

Color values

HEX#A181F5
RGBrgb(161, 129, 245)
HSLhsl(257, 85%, 73%)
HSVhsv(257, 47%, 96%)
CMYKcmyk(34.3%, 47.3%, 0%, 3.9%)
CIE-LABlab(61.54, 37.40, -54.06)
CIE-LCHlch(61.54, 65.73, 304.67°)
OKLaboklab(68.36% 0.0687 -0.1525)
OKLCHoklch(68.36% 0.167 294.3)
XYZxyz(39.0254, 29.8694, 90.0778)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181F5 #D5F581
analogous
#819BF5 #A181F5 #DB81F5
triadic
#A181F5 #F5A181 #81F5A1
tetradic
#A181F5 #F5819B #D5F581 #81F5DB
square
#A181F5 #F5819B #D5F581 #81F5DB
split-complementary
#A181F5 #F5DB81 #9BF581
monochromatic
#4E13E9 #7748F0 #A181F5 #CBBAF9 #EAE3FD

Accessibility & contrast

On white

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

On black

6.97
#A181F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181F5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181F5#FFFFFF#000000##000000
##A181F51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#5E93F2
Tritanopia (blue-blind)
#8D97AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a181f5;
/* rgb */ color: rgb(161, 129, 245);
/* oklch */ color: oklch(68.4% 0.167 294.3);
Tailwind
colors: {
  custom: {
    50: '#c0a6f9',
    500: '#a181f5',
    950: '#000000',
  },
}
SCSS
$custom: #a181f5;
$custom-light: #c0a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a181f5",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 256.552,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68365,
    "c": 0.16722,
    "h": 294.3
  },
  "luminance": 0.2987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A181F5

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

Preview Lab → · Contrast checker → · Palette generator →

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