#A161D3#A161D3

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

Color values

HEX#A161D3
RGBrgb(161, 97, 211)
HSLhsl(274, 56%, 60%)
HSVhsv(274, 54%, 83%)
CMYKcmyk(23.7%, 54%, 0%, 17.3%)
CIE-LABlab(52.76, 46.77, -48.99)
CIE-LCHlch(52.76, 67.73, 313.67°)
OKLaboklab(61.24% 0.1075 -0.1376)
OKLCHoklch(61.24% 0.175 308)
XYZxyz(30.7282, 20.8300, 64.0172)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161D3 #93D361
analogous
#6861D3 #A161D3 #D361CC
triadic
#A161D3 #D3A161 #61D3A1
tetradic
#A161D3 #D36861 #93D361 #61CCD3
square
#A161D3 #D36861 #93D361 #61CCD3
split-complementary
#A161D3 #CCD361 #61D368
monochromatic
#632891 #8436C1 #A161D3 #BD91E0 #DAC1EE

Accessibility & contrast

On white

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

On black

5.17
#A161D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161D3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161D3#FFFFFF#000000##000000
##A161D31.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD7
Deuteranopia (green-blind)
#527FD0
Tritanopia (blue-blind)
#9A7591
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a161d3;
/* rgb */ color: rgb(161, 97, 211);
/* oklch */ color: oklch(61.2% 0.175 308.0);
Tailwind
colors: {
  custom: {
    50: '#c090e1',
    500: '#a161d3',
    950: '#000000',
  },
}
SCSS
$custom: #a161d3;
$custom-light: #c090e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a161d3",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 211
  },
  "hsl": {
    "h": 273.684,
    "s": 56.436,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.1746,
    "h": 308
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#A161D3
secondary
#C5DEB2
accent
#C42269
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A161D3

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

Preview Lab → · Contrast checker → · Palette generator →

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