#8161B3#8161B3

#8161B3 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.1% C 0.127 H 300.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8161B3
RGBrgb(129, 97, 179)
HSLhsl(263, 35%, 54%)
HSVhsv(263, 46%, 70%)
CMYKcmyk(27.9%, 45.8%, 0%, 29.8%)
CIE-LABlab(47.59, 30.40, -39.00)
CIE-LCHlch(47.59, 49.44, 307.93°)
OKLaboklab(56.05% 0.0641 -0.1093)
OKLCHoklch(56.05% 0.127 300.4)
XYZxyz(21.4628, 16.4711, 44.6876)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161B3 #93B361
analogous
#616AB3 #8161B3 #AA61B3
triadic
#8161B3 #B38161 #61B381
tetradic
#8161B3 #B3616A #93B361 #61B3AA
square
#8161B3 #B3616A #93B361 #61B3AA
split-complementary
#8161B3 #B3AA61 #6AB361
monochromatic
#473268 #634691 #8161B3 #A28AC7 #C3B4DB

Accessibility & contrast

On white

4.89
#8161B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8161B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8161B3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161B3#FFFFFF#000000##FFFFFF
##8161B31.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#777081
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8161b3;
/* rgb */ color: rgb(129, 97, 179);
/* oklch */ color: oklch(56.1% 0.127 300.4);
Tailwind
colors: {
  custom: {
    50: '#a88eca',
    500: '#8161b3',
    950: '#000000',
  },
}
SCSS
$custom: #8161b3;
$custom-light: #a88eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8161b3",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 263.415,
    "s": 35.043,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56051,
    "c": 0.12668,
    "h": 300.4
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#8161B3
secondary
#BCC9A6
accent
#CB5DA0
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8161B3

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

Preview Lab → · Contrast checker → · Palette generator →

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