#9162E5#9162E5

#9162E5 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.191 H 296.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9162E5
RGBrgb(145, 98, 229)
HSLhsl(262, 72%, 64%)
HSVhsv(262, 57%, 90%)
CMYKcmyk(36.7%, 57.2%, 0%, 10.2%)
CIE-LABlab(52.30, 46.73, -60.01)
CIE-LCHlch(52.30, 76.06, 307.91°)
OKLaboklab(60.85% 0.0864 -0.1704)
OKLCHoklch(60.85% 0.191 296.9)
XYZxyz(30.1840, 20.4118, 76.4632)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162E5 #B6E562
analogous
#6275E5 #9162E5 #D362E5
triadic
#9162E5 #E59162 #62E591
tetradic
#9162E5 #E56275 #B6E562 #62E5D3
square
#9162E5 #E56275 #B6E562 #62E5D3
split-complementary
#9162E5 #E5D362 #75E562
monochromatic
#521DB0 #6C2DDC #9162E5 #B697EE #DBCBF6

Accessibility & contrast

On white

4.13
#9162E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9162E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162E5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162E5#FFFFFF#000000##000000
##9162E51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7DE9
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#7D7E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9162e5;
/* rgb */ color: rgb(145, 98, 229);
/* oklch */ color: oklch(60.9% 0.191 296.9);
Tailwind
colors: {
  custom: {
    50: '#b690ee',
    500: '#9162e5',
    950: '#000000',
  },
}
SCSS
$custom: #9162e5;
$custom-light: #b690ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9162e5",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 261.527,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.19103,
    "h": 296.9
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#9162E5
secondary
#D8E8BB
accent
#D4128E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9162E5

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

Preview Lab → · Contrast checker → · Palette generator →

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