#A161CA#A161CA

#A161CA is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.164 H 310.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A161CA
RGBrgb(161, 97, 202)
HSLhsl(277, 50%, 59%)
HSVhsv(277, 52%, 79%)
CMYKcmyk(20.3%, 52%, 0%, 20.8%)
CIE-LABlab(52.28, 44.74, -44.63)
CIE-LCHlch(52.28, 63.19, 315.07°)
OKLaboklab(60.73% 0.1068 -0.1249)
OKLCHoklch(60.73% 0.164 310.5)
XYZxyz(29.6313, 20.3913, 58.2406)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161CA #8ACA61
analogous
#6C61CA #A161CA #CA61BF
triadic
#A161CA #CAA161 #61CAA1
tetradic
#A161CA #CA6C61 #8ACA61 #61BFCA
square
#A161CA #CA6C61 #8ACA61 #61BFCA
split-complementary
#A161CA #BFCA61 #61CA6C
monochromatic
#622C84 #843CB2 #A161CA #BC8FD9 #D8BDE9

Accessibility & contrast

On white

4.14
#A161CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A161CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161CA#FFFFFF#000000##000000
##A161CA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#9C738C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a161ca;
/* rgb */ color: rgb(161, 97, 202);
/* oklch */ color: oklch(60.7% 0.164 310.5);
Tailwind
colors: {
  custom: {
    50: '#bf90da',
    500: '#a161ca',
    950: '#000000',
  },
}
SCSS
$custom: #a161ca;
$custom-light: #bf90da;
$custom-dark: #000000;
JSON
{
  "hex": "#a161ca",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 276.571,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.16432,
    "h": 310.5
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#A161CA
secondary
#BFD8AF
accent
#D94F85
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A161CA

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

Preview Lab → · Contrast checker → · Palette generator →

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