#A161D7#A161D7

#A161D7 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.179 H 306.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A161D7
RGBrgb(161, 97, 215)
HSLhsl(273, 60%, 61%)
HSVhsv(273, 55%, 84%)
CMYKcmyk(25.1%, 54.9%, 0%, 15.7%)
CIE-LABlab(52.99, 47.69, -50.91)
CIE-LCHlch(52.99, 69.76, 313.13°)
OKLaboklab(61.48% 0.1077 -0.1432)
OKLCHoklch(61.48% 0.179 306.9)
XYZxyz(31.2359, 21.0331, 66.6911)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161D7 #97D761
analogous
#6661D7 #A161D7 #D761D2
triadic
#A161D7 #D7A161 #61D7A1
tetradic
#A161D7 #D76661 #97D761 #61D2D7
square
#A161D7 #D76661 #97D761 #61D2D7
split-complementary
#A161D7 #D2D761 #61D766
monochromatic
#642697 #8433C8 #A161D7 #BE92E3 #DBC3F0

Accessibility & contrast

On white

4.03
#A161D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A161D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161D7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161D7#FFFFFF#000000##000000
##A161D71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397CDB
Deuteranopia (green-blind)
#4F7FD4
Tritanopia (blue-blind)
#997793
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a161d7;
/* rgb */ color: rgb(161, 97, 215);
/* oklch */ color: oklch(61.5% 0.179 306.9);
Tailwind
colors: {
  custom: {
    50: '#c090e4',
    500: '#a161d7',
    950: '#000000',
  },
}
SCSS
$custom: #a161d7;
$custom-light: #c090e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a161d7",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 272.542,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6148,
    "c": 0.17916,
    "h": 306.9
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#A161D7
secondary
#C8E0B4
accent
#C71E6C
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A161D7

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

Preview Lab → · Contrast checker → · Palette generator →

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