#8161BF#8161BF

#8161BF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.7% C 0.143 H 297.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8161BF
RGBrgb(129, 97, 191)
HSLhsl(260, 42%, 56%)
HSVhsv(260, 49%, 75%)
CMYKcmyk(32.5%, 49.2%, 0%, 25.1%)
CIE-LABlab(48.23, 33.49, -44.94)
CIE-LCHlch(48.23, 56.05, 306.69°)
OKLaboklab(56.74% 0.0655 -0.1266)
OKLCHoklch(56.74% 0.143 297.4)
XYZxyz(22.7296, 16.9778, 51.3597)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161BF #9FBF61
analogous
#6170BF #8161BF #B061BF
triadic
#8161BF #BF8161 #61BF81
tetradic
#8161BF #BF6170 #9FBF61 #61BFB0
square
#8161BF #BF6170 #9FBF61 #61BFB0
split-complementary
#8161BF #BFB061 #70BF61
monochromatic
#483076 #6241A1 #8161BF #A48DD1 #C6B8E2

Accessibility & contrast

On white

4.78
#8161BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8161BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8161BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161BF#FFFFFF#000000##FFFFFF
##8161BF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#4871BD
Tritanopia (blue-blind)
#747387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8161bf;
/* rgb */ color: rgb(129, 97, 191);
/* oklch */ color: oklch(56.7% 0.143 297.4);
Tailwind
colors: {
  custom: {
    50: '#a88ed3',
    500: '#8161bf',
    950: '#000000',
  },
}
SCSS
$custom: #8161bf;
$custom-light: #a88ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8161bf",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 260.426,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.14259,
    "h": 297.4
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

primary
#8161BF
secondary
#C4D1AB
accent
#D256A8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8161BF

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

Preview Lab → · Contrast checker → · Palette generator →

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