#9161EB#9161EB

#9161EB is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.200 H 296.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9161EB
RGBrgb(145, 97, 235)
HSLhsl(261, 78%, 65%)
HSVhsv(261, 59%, 92%)
CMYKcmyk(38.3%, 58.7%, 0%, 7.8%)
CIE-LABlab(52.47, 48.83, -63.11)
CIE-LCHlch(52.47, 79.79, 307.73°)
OKLaboklab(61.1% 0.0875 -0.1795)
OKLCHoklch(61.1% 0.2 296)
XYZxyz(30.9433, 20.5667, 80.9206)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161EB #BBEB61
analogous
#6176EB #9161EB #D661EB
triadic
#9161EB #EB9161 #61EB91
tetradic
#9161EB #EB6176 #BBEB61 #61EBD6
square
#9161EB #EB6176 #BBEB61 #61EBD6
split-complementary
#9161EB #EBD661 #76EB61
monochromatic
#5018BA #6B2BE4 #9161EB #B797F2 #DDCEF9

Accessibility & contrast

On white

4.11
#9161EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9161EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161EB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161EB#FFFFFF#000000##000000
##9161EB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#7B7F9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9161eb;
/* rgb */ color: rgb(145, 97, 235);
/* oklch */ color: oklch(61.1% 0.200 296.0);
Tailwind
colors: {
  custom: {
    50: '#b690f2',
    500: '#9161eb',
    950: '#000000',
  },
}
SCSS
$custom: #9161eb;
$custom-light: #b690f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9161eb",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 260.87,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.19964,
    "h": 296
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#9161EB
secondary
#DBEBBD
accent
#DA0C92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161EB

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

Preview Lab → · Contrast checker → · Palette generator →

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