#A161C7#A161C7

#A161C7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.161 H 311.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A161C7
RGBrgb(161, 97, 199)
HSLhsl(278, 48%, 58%)
HSVhsv(278, 51%, 78%)
CMYKcmyk(19.1%, 51.3%, 0%, 22%)
CIE-LABlab(52.12, 44.07, -43.16)
CIE-LCHlch(52.12, 61.68, 315.59°)
OKLaboklab(60.56% 0.1065 -0.1206)
OKLCHoklch(60.56% 0.161 311.5)
XYZxyz(29.2796, 20.2506, 56.3881)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161C7 #87C761
analogous
#6E61C7 #A161C7 #C761BA
triadic
#A161C7 #C7A161 #61C7A1
tetradic
#A161C7 #C76E61 #87C761 #61BAC7
square
#A161C7 #C76E61 #87C761 #61BAC7
split-complementary
#A161C7 #BAC761 #61C76E
monochromatic
#612D80 #843DAD #A161C7 #BC8ED7 #D7BBE7

Accessibility & contrast

On white

4.16
#A161C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A161C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161C7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161C7#FFFFFF#000000##000000
##A161C71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CA
Deuteranopia (green-blind)
#5B7EC4
Tritanopia (blue-blind)
#9D728B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a161c7;
/* rgb */ color: rgb(161, 97, 199);
/* oklch */ color: oklch(60.6% 0.161 311.5);
Tailwind
colors: {
  custom: {
    50: '#bf90d8',
    500: '#a161c7',
    950: '#000000',
  },
}
SCSS
$custom: #a161c7;
$custom-light: #bf90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a161c7",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 199
  },
  "hsl": {
    "h": 277.647,
    "s": 47.664,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.16091,
    "h": 311.5
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#A161C7
secondary
#BDD6AE
accent
#D75183
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120D14
muted
#817D83

Preview Lab

Preview with #A161C7

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

Preview Lab → · Contrast checker → · Palette generator →

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