#9162EB#9162EB

#9162EB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.198 H 295.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9162EB
RGBrgb(145, 98, 235)
HSLhsl(261, 77%, 65%)
HSVhsv(261, 58%, 92%)
CMYKcmyk(38.3%, 58.3%, 0%, 7.8%)
CIE-LABlab(52.68, 48.28, -62.77)
CIE-LCHlch(52.68, 79.19, 307.57°)
OKLaboklab(61.25% 0.0863 -0.1785)
OKLCHoklch(61.25% 0.198 295.8)
XYZxyz(31.0362, 20.7527, 80.9516)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162EB #BCEB62
analogous
#6277EB #9162EB #D562EB
triadic
#9162EB #EB9162 #62EB91
tetradic
#9162EB #EB6277 #BCEB62 #62EBD5
square
#9162EB #EB6277 #BCEB62 #62EBD5
split-complementary
#9162EB #EBD562 #77EB62
monochromatic
#5018BB #6B2CE4 #9162EB #B798F2 #DDCFF9

Accessibility & contrast

On white

4.08
#9162EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9162EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162EB#FFFFFF#000000##000000
##9162EB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#057FEF
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#7B809D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9162eb;
/* rgb */ color: rgb(145, 98, 235);
/* oklch */ color: oklch(61.3% 0.198 295.8);
Tailwind
colors: {
  custom: {
    50: '#b690f2',
    500: '#9162eb',
    950: '#000000',
  },
}
SCSS
$custom: #9162eb;
$custom-light: #b690f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9162eb",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 260.584,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.19827,
    "h": 295.8
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

primary
#9162EB
secondary
#DCEBBD
accent
#DA0C93
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162EB

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

Preview Lab → · Contrast checker → · Palette generator →

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