#9162BB#9162BB

#9162BB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.3% C 0.139 H 307.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9162BB
RGBrgb(145, 98, 187)
HSLhsl(272, 40%, 56%)
HSVhsv(272, 48%, 73%)
CMYKcmyk(22.5%, 47.6%, 0%, 26.7%)
CIE-LABlab(49.91, 36.32, -39.86)
CIE-LCHlch(49.91, 53.93, 312.34°)
OKLaboklab(58.31% 0.0838 -0.1114)
OKLCHoklch(58.31% 0.139 307)
XYZxyz(25.0126, 18.3432, 49.2270)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162BB #8CBB62
analogous
#6462BB #9162BB #BB62B9
triadic
#9162BB #BB9162 #62BB91
tetradic
#9162BB #BB6462 #8CBB62 #62B9BB
square
#9162BB #BB6462 #8CBB62 #62B9BB
split-complementary
#9162BB #B9BB62 #62BB64
monochromatic
#533171 #72449C #9162BB #AF8DCD #CDB7E0

Accessibility & contrast

On white

4.50
#9162BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9162BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162BB#FFFFFF#000000##000000
##9162BB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9162bb;
/* rgb */ color: rgb(145, 98, 187);
/* oklch */ color: oklch(58.3% 0.139 307.0);
Tailwind
colors: {
  custom: {
    50: '#b390d0',
    500: '#9162bb',
    950: '#000000',
  },
}
SCSS
$custom: #9162bb;
$custom-light: #b390d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9162bb",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 271.685,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.13943,
    "h": 307
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#9162BB
secondary
#BBCFAA
accent
#CF5891
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #9162BB

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

Preview Lab → · Contrast checker → · Palette generator →

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