#9161F6#9161F6

#9161F6 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.213 H 294.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9161F6
RGBrgb(145, 97, 246)
HSLhsl(259, 89%, 67%)
HSVhsv(259, 61%, 96%)
CMYKcmyk(41.1%, 60.6%, 0%, 3.5%)
CIE-LABlab(53.19, 51.69, -68.09)
CIE-LCHlch(53.19, 85.49, 307.20°)
OKLaboklab(61.85% 0.087 -0.1941)
OKLCHoklch(61.85% 0.213 294.1)
XYZxyz(32.5819, 21.2221, 89.5505)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161F6 #C6F661
analogous
#617BF6 #9161F6 #DC61F6
triadic
#9161F6 #F69161 #61F691
tetradic
#9161F6 #F6617B #C6F661 #61F6DC
square
#9161F6 #F6617B #C6F661 #61F6DC
split-complementary
#9161F6 #F6DC61 #7BF661
monochromatic
#4B0CD1 #6927F3 #9161F6 #B99BF9 #E2D5FD

Accessibility & contrast

On white

4.00
#9161F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9161F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161F6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161F6#FFFFFF#000000##000000
##9161F61.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#7683A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9161f6;
/* rgb */ color: rgb(145, 97, 246);
/* oklch */ color: oklch(61.9% 0.213 294.1);
Tailwind
colors: {
  custom: {
    50: '#b790fa',
    500: '#9161f6',
    950: '#000000',
  },
}
SCSS
$custom: #9161f6;
$custom-light: #b790fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9161f6",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 246
  },
  "hsl": {
    "h": 259.329,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.21272,
    "h": 294.1
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#9161F6
secondary
#E2F1C2
accent
#E6009C
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9161F6

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

Preview Lab → · Contrast checker → · Palette generator →

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