#A161CC#A161CC

#A161CC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.167 H 310.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A161CC
RGBrgb(161, 97, 204)
HSLhsl(276, 51%, 59%)
HSVhsv(276, 52%, 80%)
CMYKcmyk(21.1%, 52.5%, 0%, 20%)
CIE-LABlab(52.38, 45.18, -45.61)
CIE-LCHlch(52.38, 64.20, 314.73°)
OKLaboklab(60.84% 0.107 -0.1277)
OKLCHoklch(60.84% 0.167 310)
XYZxyz(29.8697, 20.4866, 59.4958)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161CC #8CCC61
analogous
#6C61CC #A161CC #CC61C2
triadic
#A161CC #CCA161 #61CCA1
tetradic
#A161CC #CC6C61 #8CCC61 #61C2CC
square
#A161CC #CC6C61 #8CCC61 #61C2CC
split-complementary
#A161CC #C2CC61 #61CC6C
monochromatic
#622C87 #843BB5 #A161CC #BD8FDB #D8BEEA

Accessibility & contrast

On white

4.12
#A161CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A161CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161CC#FFFFFF#000000##000000
##A161CC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#9C738D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a161cc;
/* rgb */ color: rgb(161, 97, 204);
/* oklch */ color: oklch(60.8% 0.167 310.0);
Tailwind
colors: {
  custom: {
    50: '#bf90dc',
    500: '#a161cc',
    950: '#000000',
  },
}
SCSS
$custom: #a161cc;
$custom-light: #bf90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a161cc",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 275.888,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.1666,
    "h": 310
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#A161CC
secondary
#C0D9AF
accent
#DB4D86
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A161CC

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

Preview Lab → · Contrast checker → · Palette generator →

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