#9161CC#9161CC

#9161CC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.162 H 302.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9161CC
RGBrgb(145, 97, 204)
HSLhsl(267, 51%, 59%)
HSVhsv(267, 52%, 80%)
CMYKcmyk(28.9%, 52.5%, 0%, 20%)
CIE-LABlab(50.60, 40.98, -48.54)
CIE-LCHlch(50.60, 63.53, 310.17°)
OKLaboklab(59.13% 0.0869 -0.1367)
OKLCHoklch(59.13% 0.162 302.4)
XYZxyz(26.8484, 18.9287, 59.3542)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161CC #9CCC61
analogous
#6167CC #9161CC #C761CC
triadic
#9161CC #CC9161 #61CC91
tetradic
#9161CC #CC6167 #9CCC61 #61CCC7
square
#9161CC #CC6167 #9CCC61 #61CCC7
split-complementary
#9161CC #CCC761 #67CC61
monochromatic
#552C87 #723BB5 #9161CC #B18FDB #D1BEEA

Accessibility & contrast

On white

4.39
#9161CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9161CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161CC#FFFFFF#000000##000000
##9161CC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#86758D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9161cc;
/* rgb */ color: rgb(145, 97, 204);
/* oklch */ color: oklch(59.1% 0.162 302.4);
Tailwind
colors: {
  custom: {
    50: '#b48fdc',
    500: '#9161cc',
    950: '#000000',
  },
}
SCSS
$custom: #9161cc;
$custom-light: #b48fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9161cc",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 266.916,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.162,
    "h": 302.4
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#9161CC
secondary
#C7D9AF
accent
#DB4D9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9161CC

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

Preview Lab → · Contrast checker → · Palette generator →

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