#9161CB#9161CB

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

Color values

HEX#9161CB
RGBrgb(145, 97, 203)
HSLhsl(267, 50%, 59%)
HSVhsv(267, 52%, 80%)
CMYKcmyk(28.6%, 52.2%, 0%, 20.4%)
CIE-LABlab(50.55, 40.74, -48.06)
CIE-LCHlch(50.55, 63.00, 310.28°)
OKLaboklab(59.07% 0.0868 -0.1353)
OKLCHoklch(59.07% 0.161 302.7)
XYZxyz(26.7288, 18.8809, 58.7246)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161CB #9BCB61
analogous
#6166CB #9161CB #C661CB
triadic
#9161CB #CB9161 #61CB91
tetradic
#9161CB #CB6166 #9BCB61 #61CBC6
square
#9161CB #CB6166 #9BCB61 #61CBC6
split-complementary
#9161CB #CBC661 #66CB61
monochromatic
#552C86 #723BB4 #9161CB #B18FDA #D1BDE9

Accessibility & contrast

On white

4.40
#9161CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9161CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161CB#FFFFFF#000000##000000
##9161CB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9161cb;
/* rgb */ color: rgb(145, 97, 203);
/* oklch */ color: oklch(59.1% 0.161 302.7);
Tailwind
colors: {
  custom: {
    50: '#b48fdb',
    500: '#9161cb',
    950: '#000000',
  },
}
SCSS
$custom: #9161cb;
$custom-light: #b48fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9161cb",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 267.17,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59065,
    "c": 0.16078,
    "h": 302.7
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#9161CB
secondary
#C6D9AF
accent
#DA4E9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9161CB

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

Preview Lab → · Contrast checker → · Palette generator →

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