#9161F1#9161F1

#9161F1 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.5% C 0.207 H 295.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9161F1
RGBrgb(145, 97, 241)
HSLhsl(260, 84%, 66%)
HSVhsv(260, 60%, 95%)
CMYKcmyk(39.8%, 59.8%, 0%, 5.5%)
CIE-LABlab(52.86, 50.38, -65.83)
CIE-LCHlch(52.86, 82.90, 307.43°)
OKLaboklab(61.51% 0.0873 -0.1875)
OKLCHoklch(61.51% 0.207 295)
XYZxyz(31.8247, 20.9193, 85.5631)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161F1 #C1F161
analogous
#6179F1 #9161F1 #D961F1
triadic
#9161F1 #F19161 #61F191
tetradic
#9161F1 #F16179 #C1F161 #61F1D9
square
#9161F1 #F16179 #C1F161 #61F1D9
split-complementary
#9161F1 #F1D961 #79F161
monochromatic
#4E12C6 #6A29EC #9161F1 #B899F6 #DFD1FB

Accessibility & contrast

On white

4.05
#9161F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9161F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161F1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161F1#FFFFFF#000000##000000
##9161F11.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#137CEE
Tritanopia (blue-blind)
#7881A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9161f1;
/* rgb */ color: rgb(145, 97, 241);
/* oklch */ color: oklch(61.5% 0.207 295.0);
Tailwind
colors: {
  custom: {
    50: '#b790f6',
    500: '#9161f1',
    950: '#000000',
  },
}
SCSS
$custom: #9161f1;
$custom-light: #b790f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9161f1",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 241
  },
  "hsl": {
    "h": 260,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.20679,
    "h": 295
  },
  "luminance": 0.2092
}

Semantic roles & 50–950 ramp

primary
#9161F1
secondary
#DFEEBF
accent
#E00597
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161F1

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

Preview Lab → · Contrast checker → · Palette generator →

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