#A161E3#A161E3

#A161E3 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.2% C 0.193 H 304.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A161E3
RGBrgb(161, 97, 227)
HSLhsl(270, 70%, 64%)
HSVhsv(270, 57%, 89%)
CMYKcmyk(29.1%, 57.3%, 0%, 11%)
CIE-LABlab(53.68, 50.50, -56.58)
CIE-LCHlch(53.68, 75.84, 311.75°)
OKLaboklab(62.21% 0.108 -0.1598)
OKLCHoklch(62.21% 0.193 304)
XYZxyz(32.8347, 21.6726, 75.1116)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161E3 #A3E361
analogous
#6162E3 #A161E3 #E261E3
triadic
#A161E3 #E3A161 #61E3A1
tetradic
#A161E3 #E36162 #A3E361 #61E3E2
square
#A161E3 #E36162 #A3E361 #61E3E2
split-complementary
#A161E3 #E3E261 #62E361
monochromatic
#641EAB #822DDA #A161E3 #C095EC #DFC9F5

Accessibility & contrast

On white

3.94
#A161E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#A161E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161E3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161E3#FFFFFF#000000##000000
##A161E31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE7
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#957B99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a161e3;
/* rgb */ color: rgb(161, 97, 227);
/* oklch */ color: oklch(62.2% 0.193 304.0);
Tailwind
colors: {
  custom: {
    50: '#c090ec',
    500: '#a161e3',
    950: '#000000',
  },
}
SCSS
$custom: #a161e3;
$custom-light: #c090ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a161e3",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 227
  },
  "hsl": {
    "h": 269.538,
    "s": 69.892,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62211,
    "c": 0.19288,
    "h": 304
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#A161E3
secondary
#D0E7B9
accent
#D21474
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161E3

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

Preview Lab → · Contrast checker → · Palette generator →

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