#A161E5#A161E5

#A161E5 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.3% C 0.195 H 303.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A161E5
RGBrgb(161, 97, 229)
HSLhsl(269, 72%, 64%)
HSVhsv(269, 58%, 90%)
CMYKcmyk(29.7%, 57.6%, 0%, 10.2%)
CIE-LABlab(53.80, 50.97, -57.52)
CIE-LCHlch(53.80, 76.85, 311.55°)
OKLaboklab(62.34% 0.108 -0.1626)
OKLCHoklch(62.34% 0.195 303.6)
XYZxyz(33.1123, 21.7837, 76.5738)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161E5 #A5E561
analogous
#6163E5 #A161E5 #E361E5
triadic
#A161E5 #E5A161 #61E5A1
tetradic
#A161E5 #E56163 #A5E561 #61E5E3
square
#A161E5 #E56163 #A5E561 #61E5E3
split-complementary
#A161E5 #E5E361 #63E561
monochromatic
#641DAF #822CDC #A161E5 #C096EE #E0CAF6

Accessibility & contrast

On white

3.92
#A161E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#A161E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161E5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161E5#FFFFFF#000000##000000
##A161E51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#4280E2
Tritanopia (blue-blind)
#947B9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a161e5;
/* rgb */ color: rgb(161, 97, 229);
/* oklch */ color: oklch(62.3% 0.195 303.6);
Tailwind
colors: {
  custom: {
    50: '#c190ee',
    500: '#a161e5',
    950: '#000000',
  },
}
SCSS
$custom: #a161e5;
$custom-light: #c190ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a161e5",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 269.091,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62336,
    "c": 0.19516,
    "h": 303.6
  },
  "luminance": 0.21784
}

Semantic roles & 50–950 ramp

primary
#A161E5
secondary
#D2E8BA
accent
#D41276
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161E5

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

Preview Lab → · Contrast checker → · Palette generator →

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