#9162CC#9162CC

#9162CC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.160 H 302.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9162CC
RGBrgb(145, 98, 204)
HSLhsl(267, 51%, 59%)
HSVhsv(267, 52%, 80%)
CMYKcmyk(28.9%, 52%, 0%, 20%)
CIE-LABlab(50.82, 40.42, -48.20)
CIE-LCHlch(50.82, 62.91, 309.99°)
OKLaboklab(59.29% 0.0856 -0.1357)
OKLCHoklch(59.29% 0.16 302.2)
XYZxyz(26.9414, 19.1147, 59.3852)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162CC #9DCC62
analogous
#6268CC #9162CC #C662CC
triadic
#9162CC #CC9162 #62CC91
tetradic
#9162CC #CC6268 #9DCC62 #62CCC6
square
#9162CC #CC6268 #9DCC62 #62CCC6
split-complementary
#9162CC #CCC662 #68CC62
monochromatic
#552C88 #713BB6 #9162CC #B190DB #D2BEEA

Accessibility & contrast

On white

4.35
#9162CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9162CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162CC#FFFFFF#000000##000000
##9162CC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#86768E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9162cc;
/* rgb */ color: rgb(145, 98, 204);
/* oklch */ color: oklch(59.3% 0.160 302.2);
Tailwind
colors: {
  custom: {
    50: '#b490dc',
    500: '#9162cc',
    950: '#000000',
  },
}
SCSS
$custom: #9162cc;
$custom-light: #b490dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9162cc",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 266.604,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.16044,
    "h": 302.2
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#9162CC
secondary
#C7DAB0
accent
#DA4D9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #9162CC

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

Preview Lab → · Contrast checker → · Palette generator →

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