#A161D6#A161D6

#A161D6 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.178 H 307.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A161D6
RGBrgb(161, 97, 214)
HSLhsl(273, 59%, 61%)
HSVhsv(273, 55%, 84%)
CMYKcmyk(24.8%, 54.7%, 0%, 16.1%)
CIE-LABlab(52.93, 47.46, -50.43)
CIE-LCHlch(52.93, 69.25, 313.26°)
OKLaboklab(61.42% 0.1076 -0.1418)
OKLCHoklch(61.42% 0.178 307.2)
XYZxyz(31.1078, 20.9818, 66.0164)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161D6 #96D661
analogous
#6661D6 #A161D6 #D661D0
triadic
#A161D6 #D6A161 #61D6A1
tetradic
#A161D6 #D66661 #96D661 #61D0D6
square
#A161D6 #D66661 #96D661 #61D0D6
split-complementary
#A161D6 #D0D661 #61D666
monochromatic
#642796 #8433C6 #A161D6 #BE92E3 #DBC2EF

Accessibility & contrast

On white

4.04
#A161D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A161D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161D6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161D6#FFFFFF#000000##000000
##A161D61.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CDA
Deuteranopia (green-blind)
#507FD3
Tritanopia (blue-blind)
#997692
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a161d6;
/* rgb */ color: rgb(161, 97, 214);
/* oklch */ color: oklch(61.4% 0.178 307.2);
Tailwind
colors: {
  custom: {
    50: '#c090e3',
    500: '#a161d6',
    950: '#000000',
  },
}
SCSS
$custom: #a161d6;
$custom-light: #c090e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a161d6",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 214
  },
  "hsl": {
    "h": 272.821,
    "s": 58.794,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.17801,
    "h": 307.2
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#A161D6
secondary
#C7DFB3
accent
#C61F6B
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A161D6

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

Preview Lab → · Contrast checker → · Palette generator →

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