#A181F9#A181F9

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

Color values

HEX#A181F9
RGBrgb(161, 129, 249)
HSLhsl(256, 91%, 74%)
HSVhsv(256, 48%, 98%)
CMYKcmyk(35.3%, 48.2%, 0%, 2.4%)
CIE-LABlab(61.75, 38.43, -55.92)
CIE-LCHlch(61.75, 67.85, 304.49°)
OKLaboklab(68.59% 0.0691 -0.1579)
OKLCHoklch(68.59% 0.172 293.6)
XYZxyz(39.6426, 30.1163, 93.3286)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181F9 #D9F981
analogous
#819DF9 #A181F9 #DD81F9
triadic
#A181F9 #F9A181 #81F9A1
tetradic
#A181F9 #F9819D #D9F981 #81F9DD
square
#A181F9 #F9819D #D9F981 #81F9DD
split-complementary
#A181F9 #F9DD81 #9DF981
monochromatic
#4A0CF3 #7547F6 #A181F9 #CDBBFC #E9E2FE

Accessibility & contrast

On white

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

On black

7.02
#A181F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A181F9
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181F9#FFFFFF#000000##000000
##A181F91.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#8C98B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a181f9;
/* rgb */ color: rgb(161, 129, 249);
/* oklch */ color: oklch(68.6% 0.172 293.6);
Tailwind
colors: {
  custom: {
    50: '#c0a6fc',
    500: '#a181f9',
    950: '#000000',
  },
}
SCSS
$custom: #a181f9;
$custom-light: #c0a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a181f9",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 256,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68594,
    "c": 0.17237,
    "h": 293.6
  },
  "luminance": 0.30117
}

Semantic roles & 50–950 ramp

primary
#A181F9
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A181F9

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

Preview Lab → · Contrast checker → · Palette generator →

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