#9162E9#9162E9

#9162E9 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.196 H 296.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9162E9
RGBrgb(145, 98, 233)
HSLhsl(261, 75%, 65%)
HSVhsv(261, 58%, 91%)
CMYKcmyk(37.8%, 57.9%, 0%, 8.6%)
CIE-LABlab(52.55, 47.76, -61.86)
CIE-LCHlch(52.55, 78.15, 307.67°)
OKLaboklab(61.12% 0.0864 -0.1758)
OKLCHoklch(61.12% 0.196 296.2)
XYZxyz(30.7489, 20.6377, 79.4384)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162E9 #BAE962
analogous
#6276E9 #9162E9 #D562E9
triadic
#9162E9 #E99162 #62E991
tetradic
#9162E9 #E96276 #BAE962 #62E9D5
square
#9162E9 #E96276 #BAE962 #62E9D5
split-complementary
#9162E9 #E9D562 #76E962
monochromatic
#501AB7 #6B2CE1 #9162E9 #B798F1 #DCCDF8

Accessibility & contrast

On white

4.10
#9162E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9162E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162E9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162E9#FFFFFF#000000##000000
##9162E91.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7EED
Deuteranopia (green-blind)
#2A7CE6
Tritanopia (blue-blind)
#7C7F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9162e9;
/* rgb */ color: rgb(145, 98, 233);
/* oklch */ color: oklch(61.1% 0.196 296.2);
Tailwind
colors: {
  custom: {
    50: '#b690f1',
    500: '#9162e9',
    950: '#000000',
  },
}
SCSS
$custom: #9162e9;
$custom-light: #b690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9162e9",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 260.889,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.19585,
    "h": 296.2
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#9162E9
secondary
#DAEABC
accent
#D80E91
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162E9

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

Preview Lab → · Contrast checker → · Palette generator →

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