#9161BB#9161BB

#9161BB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.141 H 307.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9161BB
RGBrgb(145, 97, 187)
HSLhsl(272, 40%, 56%)
HSVhsv(272, 48%, 73%)
CMYKcmyk(22.5%, 48.1%, 0%, 26.7%)
CIE-LABlab(49.69, 36.89, -40.22)
CIE-LCHlch(49.69, 54.57, 312.53°)
OKLaboklab(58.15% 0.0853 -0.1124)
OKLCHoklch(58.15% 0.141 307.2)
XYZxyz(24.9196, 18.1572, 49.1960)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161BB #8BBB61
analogous
#6461BB #9161BB #BB61B8
triadic
#9161BB #BB9161 #61BB91
tetradic
#9161BB #BB6461 #8BBB61 #61B8BB
square
#9161BB #BB6461 #8BBB61 #61B8BB
split-complementary
#9161BB #B8BB61 #61BB64
monochromatic
#533171 #72439C #9161BB #AF8CCD #CDB7E0

Accessibility & contrast

On white

4.53
#9161BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9161BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161BB#FFFFFF#000000##000000
##9161BB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#8B7085
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9161bb;
/* rgb */ color: rgb(145, 97, 187);
/* oklch */ color: oklch(58.1% 0.141 307.2);
Tailwind
colors: {
  custom: {
    50: '#b38fd0',
    500: '#9161bb',
    950: '#000000',
  },
}
SCSS
$custom: #9161bb;
$custom-light: #b38fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9161bb",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 272,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.1411,
    "h": 307.2
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#9161BB
secondary
#BBCFA9
accent
#D05890
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #9161BB

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

Preview Lab → · Contrast checker → · Palette generator →

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