#A161E6#A161E6

#A161E6 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.196 H 303.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A161E6
RGBrgb(161, 97, 230)
HSLhsl(269, 73%, 64%)
HSVhsv(269, 58%, 90%)
CMYKcmyk(30%, 57.8%, 0%, 9.8%)
CIE-LABlab(53.86, 51.21, -57.98)
CIE-LCHlch(53.86, 77.36, 311.45°)
OKLaboklab(62.4% 0.108 -0.1639)
OKLCHoklch(62.4% 0.196 303.4)
XYZxyz(33.2523, 21.8397, 77.3112)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161E6 #A6E661
analogous
#6164E6 #A161E6 #E461E6
triadic
#A161E6 #E6A161 #61E6A1
tetradic
#A161E6 #E66164 #A6E661 #61E6E4
square
#A161E6 #E66164 #A6E661 #61E6E4
split-complementary
#A161E6 #E6E461 #64E661
monochromatic
#641CB1 #822CDE #A161E6 #C096EE #E0CBF7

Accessibility & contrast

On white

3.91
#A161E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A161E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161E6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161E6#FFFFFF#000000##000000
##A161E61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FEA
Deuteranopia (green-blind)
#4181E3
Tritanopia (blue-blind)
#947C9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a161e6;
/* rgb */ color: rgb(161, 97, 230);
/* oklch */ color: oklch(62.4% 0.196 303.4);
Tailwind
colors: {
  custom: {
    50: '#c190ef',
    500: '#a161e6',
    950: '#000000',
  },
}
SCSS
$custom: #a161e6;
$custom-light: #c190ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a161e6",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 230
  },
  "hsl": {
    "h": 268.872,
    "s": 72.678,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.1963,
    "h": 303.4
  },
  "luminance": 0.2184
}

Semantic roles & 50–950 ramp

primary
#A161E6
secondary
#D2E9BA
accent
#D51176
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161E6

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

Preview Lab → · Contrast checker → · Palette generator →

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