#A161B2#A161B2

#A161B2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.5% C 0.137 H 319.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A161B2
RGBrgb(161, 97, 178)
HSLhsl(287, 34%, 54%)
HSVhsv(287, 46%, 70%)
CMYKcmyk(9.6%, 45.5%, 0%, 30.2%)
CIE-LABlab(51.08, 39.56, -32.67)
CIE-LCHlch(51.08, 51.30, 320.45°)
OKLaboklab(59.45% 0.1037 -0.0902)
OKLCHoklch(59.45% 0.137 319)
XYZxyz(27.0075, 19.3417, 44.4215)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161B2 #72B261
analogous
#7961B2 #A161B2 #B2619B
triadic
#A161B2 #B2A161 #61B2A1
tetradic
#A161B2 #B27961 #72B261 #619BB2
square
#A161B2 #B27961 #72B261 #619BB2
split-complementary
#A161B2 #9BB261 #61B279
monochromatic
#5C3267 #804690 #A161B2 #B98AC6 #D2B3DA

Accessibility & contrast

On white

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

On black

4.87
#A161B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161B2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161B2#FFFFFF#000000##000000
##A161B21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#A16C81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a161b2;
/* rgb */ color: rgb(161, 97, 178);
/* oklch */ color: oklch(59.5% 0.137 319.0);
Tailwind
colors: {
  custom: {
    50: '#be90c9',
    500: '#a161b2',
    950: '#000000',
  },
}
SCSS
$custom: #a161b2;
$custom-light: #be90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a161b2",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 287.407,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.13745,
    "h": 319
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#A161B2
secondary
#ADC9A6
accent
#CB5D74
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120D13
muted
#817D82

Preview Lab

Preview with #A161B2

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

Preview Lab → · Contrast checker → · Palette generator →

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