#9161E7#9161E7

#9161E7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.195 H 296.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9161E7
RGBrgb(145, 97, 231)
HSLhsl(261, 74%, 64%)
HSVhsv(261, 58%, 91%)
CMYKcmyk(37.2%, 58%, 0%, 9.4%)
CIE-LABlab(52.22, 47.79, -61.27)
CIE-LCHlch(52.22, 77.71, 307.96°)
OKLaboklab(60.83% 0.0876 -0.1741)
OKLCHoklch(60.83% 0.195 296.7)
XYZxyz(30.3719, 20.3381, 77.9113)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161E7 #B7E761
analogous
#6174E7 #9161E7 #D461E7
triadic
#9161E7 #E79161 #61E791
tetradic
#9161E7 #E76174 #B7E761 #61E7D4
square
#9161E7 #E76174 #B7E761 #61E7D4
split-complementary
#9161E7 #E7D461 #74E761
monochromatic
#511BB2 #6C2CDF #9161E7 #B696EF #DBCBF7

Accessibility & contrast

On white

4.14
#9161E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9161E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161E7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161E7#FFFFFF#000000##000000
##9161E71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#107DEB
Deuteranopia (green-blind)
#2C7BE4
Tritanopia (blue-blind)
#7D7E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9161e7;
/* rgb */ color: rgb(145, 97, 231);
/* oklch */ color: oklch(60.8% 0.195 296.7);
Tailwind
colors: {
  custom: {
    50: '#b690ef',
    500: '#9161e7',
    950: '#000000',
  },
}
SCSS
$custom: #9161e7;
$custom-light: #b690ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9161e7",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 261.493,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.19485,
    "h": 296.7
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#9161E7
secondary
#D8E9BB
accent
#D6108F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161E7

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

Preview Lab → · Contrast checker → · Palette generator →

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