#A161B3#A161B3

#A161B3 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.5% C 0.139 H 318.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A161B3
RGBrgb(161, 97, 179)
HSLhsl(287, 35%, 54%)
HSVhsv(287, 46%, 70%)
CMYKcmyk(10.1%, 45.8%, 0%, 29.8%)
CIE-LABlab(51.13, 39.76, -33.18)
CIE-LCHlch(51.13, 51.79, 320.16°)
OKLaboklab(59.5% 0.1039 -0.0917)
OKLCHoklch(59.5% 0.139 318.6)
XYZxyz(27.1082, 19.3820, 44.9522)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161B3 #73B361
analogous
#7861B3 #A161B3 #B3619C
triadic
#A161B3 #B3A161 #61B3A1
tetradic
#A161B3 #B37861 #73B361 #619CB3
square
#A161B3 #B37861 #73B361 #619CB3
split-complementary
#A161B3 #9CB361 #61B378
monochromatic
#5C3268 #814691 #A161B3 #BA8AC7 #D2B4DB

Accessibility & contrast

On white

4.31
#A161B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A161B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161B3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161B3#FFFFFF#000000##000000
##A161B31.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B6
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#A16C81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a161b3;
/* rgb */ color: rgb(161, 97, 179);
/* oklch */ color: oklch(59.5% 0.139 318.6);
Tailwind
colors: {
  custom: {
    50: '#be90ca',
    500: '#a161b3',
    950: '#000000',
  },
}
SCSS
$custom: #a161b3;
$custom-light: #be90ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a161b3",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 286.829,
    "s": 35.043,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.13854,
    "h": 318.6
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#A161B3
secondary
#AEC9A6
accent
#CB5D75
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120D13
muted
#817D82

Preview Lab

Preview with #A161B3

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

Preview Lab → · Contrast checker → · Palette generator →

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