#9161E8#9161E8

#9161E8 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.196 H 296.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9161E8
RGBrgb(145, 97, 232)
HSLhsl(261, 75%, 65%)
HSVhsv(261, 58%, 91%)
CMYKcmyk(37.5%, 58.2%, 0%, 9%)
CIE-LABlab(52.28, 48.05, -61.73)
CIE-LCHlch(52.28, 78.23, 307.90°)
OKLaboklab(60.9% 0.0875 -0.1754)
OKLCHoklch(60.9% 0.196 296.5)
XYZxyz(30.5135, 20.3948, 78.6572)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161E8 #B8E861
analogous
#6175E8 #9161E8 #D461E8
triadic
#9161E8 #E89161 #61E891
tetradic
#9161E8 #E86175 #B8E861 #61E8D4
square
#9161E8 #E86175 #B8E861 #61E8D4
split-complementary
#9161E8 #E8D461 #75E861
monochromatic
#511AB4 #6C2CE0 #9161E8 #B696F0 #DBCCF8

Accessibility & contrast

On white

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

On black

5.08
#9161E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161E8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161E8#FFFFFF#000000##000000
##9161E81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEC
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#7C7E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9161e8;
/* rgb */ color: rgb(145, 97, 232);
/* oklch */ color: oklch(60.9% 0.196 296.5);
Tailwind
colors: {
  custom: {
    50: '#b690f0',
    500: '#9161e8',
    950: '#000000',
  },
}
SCSS
$custom: #9161e8;
$custom-light: #b690f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9161e8",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 261.333,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.19605,
    "h": 296.5
  },
  "luminance": 0.20395
}

Semantic roles & 50–950 ramp

primary
#9161E8
secondary
#D9EABB
accent
#D70F90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161E8

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

Preview Lab → · Contrast checker → · Palette generator →

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