#A161DC#A161DC

#A161DC is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.8% C 0.185 H 305.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A161DC
RGBrgb(161, 97, 220)
HSLhsl(271, 64%, 62%)
HSVhsv(271, 56%, 86%)
CMYKcmyk(26.8%, 55.9%, 0%, 13.7%)
CIE-LABlab(53.27, 48.85, -53.29)
CIE-LCHlch(53.27, 72.29, 312.51°)
OKLaboklab(61.78% 0.1079 -0.1502)
OKLCHoklch(61.78% 0.185 305.7)
XYZxyz(31.8882, 21.2940, 70.1265)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161DC #9CDC61
analogous
#6461DC #A161DC #DC61D9
triadic
#A161DC #DCA161 #61DCA1
tetradic
#A161DC #DC6461 #9CDC61 #61D9DC
square
#A161DC #DC6461 #9CDC61 #61D9DC
split-complementary
#A161DC #D9DC61 #61DC64
monochromatic
#64239F #832FD1 #A161DC #BF93E7 #DDC5F2

Accessibility & contrast

On white

3.99
#A161DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A161DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161DC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161DC#FFFFFF#000000##000000
##A161DC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#4B80D9
Tritanopia (blue-blind)
#977895
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a161dc;
/* rgb */ color: rgb(161, 97, 220);
/* oklch */ color: oklch(61.8% 0.185 305.7);
Tailwind
colors: {
  custom: {
    50: '#c090e7',
    500: '#a161dc',
    950: '#000000',
  },
}
SCSS
$custom: #a161dc;
$custom-light: #c090e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a161dc",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 271.22,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.18488,
    "h": 305.7
  },
  "luminance": 0.21294
}

Semantic roles & 50–950 ramp

primary
#A161DC
secondary
#CBE3B6
accent
#CC1A6F
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161DC

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

Preview Lab → · Contrast checker → · Palette generator →

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