#9161B3#9161B3

#9161B3 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.131 H 309.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9161B3
RGBrgb(145, 97, 179)
HSLhsl(275, 35%, 54%)
HSVhsv(275, 46%, 70%)
CMYKcmyk(19%, 45.8%, 0%, 29.8%)
CIE-LABlab(49.28, 35.02, -36.21)
CIE-LCHlch(49.28, 50.38, 314.04°)
OKLaboklab(57.71% 0.0841 -0.1008)
OKLCHoklch(57.71% 0.131 309.8)
XYZxyz(24.0869, 17.8242, 44.8106)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161B3 #83B361
analogous
#6861B3 #9161B3 #B361AC
triadic
#9161B3 #B39161 #61B391
tetradic
#9161B3 #B36861 #83B361 #61ACB3
square
#9161B3 #B36861 #83B361 #61ACB3
split-complementary
#9161B3 #ACB361 #61B368
monochromatic
#513268 #724691 #9161B3 #AE8AC7 #CBB4DB

Accessibility & contrast

On white

4.60
#9161B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9161B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9161B3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161B3#FFFFFF#000000##FFFFFF
##9161B31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#8D6E81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9161b3;
/* rgb */ color: rgb(145, 97, 179);
/* oklch */ color: oklch(57.7% 0.131 309.8);
Tailwind
colors: {
  custom: {
    50: '#b38fca',
    500: '#9161b3',
    950: '#000000',
  },
}
SCSS
$custom: #9161b3;
$custom-light: #b38fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9161b3",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 275.122,
    "s": 35.043,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.13129,
    "h": 309.8
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#9161B3
secondary
#B5C9A6
accent
#CB5D8A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #9161B3

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

Preview Lab → · Contrast checker → · Palette generator →

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