#8161BE#8161BE

#8161BE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.7% C 0.141 H 297.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8161BE
RGBrgb(129, 97, 190)
HSLhsl(261, 42%, 56%)
HSVhsv(261, 49%, 75%)
CMYKcmyk(32.1%, 48.9%, 0%, 25.5%)
CIE-LABlab(48.18, 33.23, -44.45)
CIE-LCHlch(48.18, 55.50, 306.78°)
OKLaboklab(56.68% 0.0654 -0.1252)
OKLCHoklch(56.68% 0.141 297.6)
XYZxyz(22.6200, 16.9340, 50.7821)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161BE #9EBE61
analogous
#6170BE #8161BE #B061BE
triadic
#8161BE #BE8161 #61BE81
tetradic
#8161BE #BE6170 #9EBE61 #61BEB0
square
#8161BE #BE6170 #9EBE61 #61BEB0
split-complementary
#8161BE #BEB061 #70BE61
monochromatic
#483075 #6242A0 #8161BE #A48CD0 #C6B8E2

Accessibility & contrast

On white

4.79
#8161BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8161BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8161BE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161BE#FFFFFF#000000##FFFFFF
##8161BE1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#747386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8161be;
/* rgb */ color: rgb(129, 97, 190);
/* oklch */ color: oklch(56.7% 0.141 297.6);
Tailwind
colors: {
  custom: {
    50: '#a88ed2',
    500: '#8161be',
    950: '#000000',
  },
}
SCSS
$custom: #8161be;
$custom-light: #a88ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8161be",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 260.645,
    "s": 41.704,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.14127,
    "h": 297.6
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#8161BE
secondary
#C3D1AA
accent
#D256A7
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8161BE

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

Preview Lab → · Contrast checker → · Palette generator →

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