#8161AE#8161AE

#8161AE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 55.8% C 0.120 H 301.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8161AE
RGBrgb(129, 97, 174)
HSLhsl(265, 32%, 53%)
HSVhsv(265, 44%, 68%)
CMYKcmyk(25.9%, 44.3%, 0%, 31.8%)
CIE-LABlab(47.33, 29.14, -36.48)
CIE-LCHlch(47.33, 46.69, 308.61°)
OKLaboklab(55.77% 0.0633 -0.102)
OKLCHoklch(55.77% 0.12 301.8)
XYZxyz(20.9662, 16.2725, 42.0725)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161AE #8EAE61
analogous
#6167AE #8161AE #A761AE
triadic
#8161AE #AE8161 #61AE81
tetradic
#8161AE #AE6167 #8EAE61 #61AEA7
square
#8161AE #AE6167 #8EAE61 #61AEA7
split-complementary
#8161AE #AEA761 #67AE61
monochromatic
#463262 #63478B #8161AE #A189C3 #C2B2D7

Accessibility & contrast

On white

4.94
#8161AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8161AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8161AE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161AE#FFFFFF#000000##FFFFFF
##8161AE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B1
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#796E7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8161ae;
/* rgb */ color: rgb(129, 97, 174);
/* oklch */ color: oklch(55.8% 0.120 301.8);
Tailwind
colors: {
  custom: {
    50: '#a78ec6',
    500: '#8161ae',
    950: '#000000',
  },
}
SCSS
$custom: #8161ae;
$custom-light: #a78ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ae",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 174
  },
  "hsl": {
    "h": 264.935,
    "s": 32.218,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.12001,
    "h": 301.8
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#8161AE
secondary
#B8C6A5
accent
#C85F9D
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8161AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8161AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva