#A161DF#A161DF

#A161DF is a mid, vivid violet. Relative luminance 0.215; OKLCH L 62.0% C 0.188 H 305.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A161DF
RGBrgb(161, 97, 223)
HSLhsl(270, 66%, 63%)
HSVhsv(270, 57%, 87%)
CMYKcmyk(27.8%, 56.5%, 0%, 12.5%)
CIE-LABlab(53.44, 49.56, -54.70)
CIE-LCHlch(53.44, 73.81, 312.17°)
OKLaboklab(61.96% 0.1079 -0.1543)
OKLCHoklch(61.96% 0.188 305)
XYZxyz(32.2890, 21.4544, 72.2378)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161DF #9FDF61
analogous
#6261DF #A161DF #DF61DE
triadic
#A161DF #DFA161 #61DFA1
tetradic
#A161DF #DF6261 #9FDF61 #61DEDF
square
#A161DF #DF6261 #9FDF61 #61DEDF
split-complementary
#A161DF #DEDF61 #61DF62
monochromatic
#6421A4 #832ED5 #A161DF #BF94E9 #DEC7F4

Accessibility & contrast

On white

3.97
#A161DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A161DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161DF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161DF#FFFFFF#000000##000000
##A161DF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#967997
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a161df;
/* rgb */ color: rgb(161, 97, 223);
/* oklch */ color: oklch(62.0% 0.188 305.0);
Tailwind
colors: {
  custom: {
    50: '#c090ea',
    500: '#a161df',
    950: '#000000',
  },
}
SCSS
$custom: #a161df;
$custom-light: #c090ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a161df",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 270.476,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.18831,
    "h": 305
  },
  "luminance": 0.21454
}

Semantic roles & 50–950 ramp

primary
#A161DF
secondary
#CEE5B7
accent
#CE1771
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161DF

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

Preview Lab → · Contrast checker → · Palette generator →

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