#9162BC#9162BC

#9162BC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.4% C 0.141 H 306.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9162BC
RGBrgb(145, 98, 188)
HSLhsl(271, 40%, 56%)
HSVhsv(271, 48%, 74%)
CMYKcmyk(22.9%, 47.9%, 0%, 26.3%)
CIE-LABlab(49.96, 36.56, -40.36)
CIE-LCHlch(49.96, 54.45, 312.17°)
OKLaboklab(58.37% 0.084 -0.1129)
OKLCHoklch(58.37% 0.141 306.6)
XYZxyz(25.1200, 18.3862, 49.7927)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162BC #8DBC62
analogous
#6462BC #9162BC #BC62BA
triadic
#9162BC #BC9162 #62BC91
tetradic
#9162BC #BC6462 #8DBC62 #62BABC
square
#9162BC #BC6462 #8DBC62 #62BABC
split-complementary
#9162BC #BABC62 #62BC64
monochromatic
#533173 #72439E #9162BC #AF8DCE #CDB8E1

Accessibility & contrast

On white

4.49
#9162BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9162BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162BC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162BC#FFFFFF#000000##000000
##9162BC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#5777BA
Tritanopia (blue-blind)
#8B7186
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9162bc;
/* rgb */ color: rgb(145, 98, 188);
/* oklch */ color: oklch(58.4% 0.141 306.6);
Tailwind
colors: {
  custom: {
    50: '#b390d0',
    500: '#9162bc',
    950: '#000000',
  },
}
SCSS
$custom: #9162bc;
$custom-light: #b390d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9162bc",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 271.333,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.14067,
    "h": 306.6
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#9162BC
secondary
#BCCFAA
accent
#D05891
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #9162BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9162BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva