#9161BF#9161BF

#9161BF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.146 H 306.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9161BF
RGBrgb(145, 97, 191)
HSLhsl(271, 42%, 56%)
HSVhsv(271, 49%, 75%)
CMYKcmyk(24.1%, 49.2%, 0%, 25.1%)
CIE-LABlab(49.90, 37.83, -42.20)
CIE-LCHlch(49.90, 56.67, 311.88°)
OKLaboklab(58.37% 0.0857 -0.1182)
OKLCHoklch(58.37% 0.146 306)
XYZxyz(25.3538, 18.3309, 51.4827)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161BF #8FBF61
analogous
#6261BF #9161BF #BF61BE
triadic
#9161BF #BF9161 #61BF91
tetradic
#9161BF #BF6261 #8FBF61 #61BEBF
square
#9161BF #BF6261 #8FBF61 #61BEBF
split-complementary
#9161BF #BEBF61 #61BF62
monochromatic
#543076 #7241A1 #9161BF #AF8DD1 #CEB8E2

Accessibility & contrast

On white

4.50
#9161BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9161BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161BF#FFFFFF#000000##000000
##9161BF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#8A7187
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9161bf;
/* rgb */ color: rgb(145, 97, 191);
/* oklch */ color: oklch(58.4% 0.146 306.0);
Tailwind
colors: {
  custom: {
    50: '#b38fd3',
    500: '#9161bf',
    950: '#000000',
  },
}
SCSS
$custom: #9161bf;
$custom-light: #b38fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9161bf",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 270.638,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.14602,
    "h": 306
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#9161BF
secondary
#BDD1AB
accent
#D25693
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #9161BF

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

Preview Lab → · Contrast checker → · Palette generator →

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