#9162E7#9162E7

#9162E7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.193 H 296.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9162E7
RGBrgb(145, 98, 231)
HSLhsl(261, 73%, 65%)
HSVhsv(261, 58%, 91%)
CMYKcmyk(37.2%, 57.6%, 0%, 9.4%)
CIE-LABlab(52.42, 47.25, -60.94)
CIE-LCHlch(52.42, 77.11, 307.79°)
OKLaboklab(60.98% 0.0864 -0.1731)
OKLCHoklch(60.98% 0.193 296.5)
XYZxyz(30.4649, 20.5241, 77.9423)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162E7 #B8E762
analogous
#6276E7 #9162E7 #D462E7
triadic
#9162E7 #E79162 #62E791
tetradic
#9162E7 #E76276 #B8E762 #62E7D4
square
#9162E7 #E76276 #B8E762 #62E7D4
split-complementary
#9162E7 #E7D462 #76E762
monochromatic
#511BB3 #6C2DDF #9162E7 #B697EF #DBCCF7

Accessibility & contrast

On white

4.11
#9162E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9162E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162E7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162E7#FFFFFF#000000##000000
##9162E71.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#167EEB
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#7C7E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9162e7;
/* rgb */ color: rgb(145, 98, 231);
/* oklch */ color: oklch(61.0% 0.193 296.5);
Tailwind
colors: {
  custom: {
    50: '#b690ef',
    500: '#9162e7',
    950: '#000000',
  },
}
SCSS
$custom: #9162e7;
$custom-light: #b690ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9162e7",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 261.203,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.19345,
    "h": 296.5
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#9162E7
secondary
#D9E9BB
accent
#D61090
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162E7

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

Preview Lab → · Contrast checker → · Palette generator →

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