#9162BF#9162BF

#9162BF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.5% C 0.144 H 305.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9162BF
RGBrgb(145, 98, 191)
HSLhsl(270, 42%, 57%)
HSVhsv(270, 49%, 75%)
CMYKcmyk(24.1%, 48.7%, 0%, 25.1%)
CIE-LABlab(50.12, 37.27, -41.85)
CIE-LCHlch(50.12, 56.04, 311.69°)
OKLaboklab(58.53% 0.0843 -0.1172)
OKLCHoklch(58.53% 0.144 305.7)
XYZxyz(25.4468, 18.5169, 51.5137)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162BF #90BF62
analogous
#6362BF #9162BF #BF62BE
triadic
#9162BF #BF9162 #62BF91
tetradic
#9162BF #BF6362 #90BF62 #62BEBF
square
#9162BF #BF6362 #90BF62 #62BEBF
split-complementary
#9162BF #BEBF62 #62BF63
monochromatic
#543076 #7242A2 #9162BF #AF8DD1 #CEB9E2

Accessibility & contrast

On white

4.46
#9162BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9162BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162BF#FFFFFF#000000##000000
##9162BF1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#8A7287
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9162bf;
/* rgb */ color: rgb(145, 98, 191);
/* oklch */ color: oklch(58.5% 0.144 305.7);
Tailwind
colors: {
  custom: {
    50: '#b390d3',
    500: '#9162bf',
    950: '#000000',
  },
}
SCSS
$custom: #9162bf;
$custom-light: #b390d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9162bf",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 270.323,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.14438,
    "h": 305.7
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#9162BF
secondary
#BED1AB
accent
#D25693
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #9162BF

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

Preview Lab → · Contrast checker → · Palette generator →

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