#8161BB#8161BB

#8161BB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.5% C 0.137 H 298.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8161BB
RGBrgb(129, 97, 187)
HSLhsl(261, 40%, 56%)
HSVhsv(261, 48%, 73%)
CMYKcmyk(31%, 48.1%, 0%, 26.7%)
CIE-LABlab(48.01, 32.45, -42.97)
CIE-LCHlch(48.01, 53.85, 307.05°)
OKLaboklab(56.51% 0.0651 -0.1209)
OKLCHoklch(56.51% 0.137 298.3)
XYZxyz(22.2954, 16.8042, 49.0730)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161BB #9BBB61
analogous
#616EBB #8161BB #AE61BB
triadic
#8161BB #BB8161 #61BB81
tetradic
#8161BB #BB616E #9BBB61 #61BBAE
square
#8161BB #BB616E #9BBB61 #61BBAE
split-complementary
#8161BB #BBAE61 #6EBB61
monochromatic
#483171 #63439C #8161BB #A38CCD #C5B7E0

Accessibility & contrast

On white

4.82
#8161BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8161BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8161BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161BB#FFFFFF#000000##FFFFFF
##8161BB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#757285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8161bb;
/* rgb */ color: rgb(129, 97, 187);
/* oklch */ color: oklch(56.5% 0.137 298.3);
Tailwind
colors: {
  custom: {
    50: '#a88ed0',
    500: '#8161bb',
    950: '#000000',
  },
}
SCSS
$custom: #8161bb;
$custom-light: #a88ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8161bb",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 261.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.1373,
    "h": 298.3
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#8161BB
secondary
#C1CFA9
accent
#D058A5
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8161BB

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

Preview Lab → · Contrast checker → · Palette generator →

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