#9161E9#9161E9

#9161E9 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.197 H 296.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9161E9
RGBrgb(145, 97, 233)
HSLhsl(261, 76%, 65%)
HSVhsv(261, 58%, 91%)
CMYKcmyk(37.8%, 58.4%, 0%, 8.6%)
CIE-LABlab(52.34, 48.31, -62.19)
CIE-LCHlch(52.34, 78.75, 307.84°)
OKLaboklab(60.97% 0.0875 -0.1768)
OKLCHoklch(60.97% 0.197 296.3)
XYZxyz(30.6559, 20.4518, 79.4074)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161E9 #B9E961
analogous
#6175E9 #9161E9 #D561E9
triadic
#9161E9 #E99161 #61E991
tetradic
#9161E9 #E96175 #B9E961 #61E9D5
square
#9161E9 #E96175 #B9E961 #61E9D5
split-complementary
#9161E9 #E9D561 #75E961
monochromatic
#5119B6 #6C2BE2 #9161E9 #B697F0 #DCCCF8

Accessibility & contrast

On white

4.13
#9161E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9161E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161E9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161E9#FFFFFF#000000##000000
##9161E91.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#077EED
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#7C7E9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9161e9;
/* rgb */ color: rgb(145, 97, 233);
/* oklch */ color: oklch(61.0% 0.197 296.3);
Tailwind
colors: {
  custom: {
    50: '#b690f1',
    500: '#9161e9',
    950: '#000000',
  },
}
SCSS
$custom: #9161e9;
$custom-light: #b690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9161e9",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 261.176,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.19725,
    "h": 296.3
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#9161E9
secondary
#DAEABC
accent
#D80E90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161E9

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

Preview Lab → · Contrast checker → · Palette generator →

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