#9162E6#9162E6

#9162E6 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.192 H 296.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9162E6
RGBrgb(145, 98, 230)
HSLhsl(261, 73%, 64%)
HSVhsv(261, 57%, 90%)
CMYKcmyk(37%, 57.4%, 0%, 9.8%)
CIE-LABlab(52.36, 46.99, -60.48)
CIE-LCHlch(52.36, 76.58, 307.85°)
OKLaboklab(60.92% 0.0864 -0.1717)
OKLCHoklch(60.92% 0.192 296.7)
XYZxyz(30.3240, 20.4678, 77.2006)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162E6 #B7E662
analogous
#6275E6 #9162E6 #D362E6
triadic
#9162E6 #E69162 #62E691
tetradic
#9162E6 #E66275 #B7E662 #62E6D3
square
#9162E6 #E66275 #B7E662 #62E6D3
split-complementary
#9162E6 #E6D362 #75E662
monochromatic
#511CB1 #6C2DDE #9162E6 #B697EE #DBCCF7

Accessibility & contrast

On white

4.12
#9162E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9162E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162E6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162E6#FFFFFF#000000##000000
##9162E61.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEA
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#7D7E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9162e6;
/* rgb */ color: rgb(145, 98, 230);
/* oklch */ color: oklch(60.9% 0.192 296.7);
Tailwind
colors: {
  custom: {
    50: '#b690ef',
    500: '#9162e6',
    950: '#000000',
  },
}
SCSS
$custom: #9162e6;
$custom-light: #b690ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9162e6",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 261.364,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.19224,
    "h": 296.7
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#9162E6
secondary
#D8E9BB
accent
#D5118F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9162E6

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

Preview Lab → · Contrast checker → · Palette generator →

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