#A161D2#A161D2

#A161D2 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.2% C 0.173 H 308.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A161D2
RGBrgb(161, 97, 210)
HSLhsl(274, 56%, 60%)
HSVhsv(274, 54%, 82%)
CMYKcmyk(23.3%, 53.8%, 0%, 17.6%)
CIE-LABlab(52.71, 46.54, -48.51)
CIE-LCHlch(52.71, 67.23, 313.81°)
OKLaboklab(61.19% 0.1074 -0.1362)
OKLCHoklch(61.19% 0.173 308.3)
XYZxyz(30.6032, 20.7800, 63.3590)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161D2 #92D261
analogous
#6861D2 #A161D2 #D261CB
triadic
#A161D2 #D2A161 #61D2A1
tetradic
#A161D2 #D26861 #92D261 #61CBD2
square
#A161D2 #D26861 #92D261 #61CBD2
split-complementary
#A161D2 #CBD261 #61D268
monochromatic
#632990 #8436BF #A161D2 #BD91E0 #DAC0ED

Accessibility & contrast

On white

4.07
#A161D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A161D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161D2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161D2#FFFFFF#000000##000000
##A161D21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#537FCF
Tritanopia (blue-blind)
#9A7590
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a161d2;
/* rgb */ color: rgb(161, 97, 210);
/* oklch */ color: oklch(61.2% 0.173 308.3);
Tailwind
colors: {
  custom: {
    50: '#bf90e0',
    500: '#a161d2',
    950: '#000000',
  },
}
SCSS
$custom: #a161d2;
$custom-light: #bf90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a161d2",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 273.982,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.17345,
    "h": 308.3
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#A161D2
secondary
#C5DDB2
accent
#C32268
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A161D2

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

Preview Lab → · Contrast checker → · Palette generator →

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