#9162EA#9162EA

#9162EA is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.197 H 296.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9162EA
RGBrgb(145, 98, 234)
HSLhsl(261, 76%, 65%)
HSVhsv(261, 58%, 92%)
CMYKcmyk(38%, 58.1%, 0%, 8.2%)
CIE-LABlab(52.61, 48.02, -62.32)
CIE-LCHlch(52.61, 78.67, 307.62°)
OKLaboklab(61.18% 0.0863 -0.1771)
OKLCHoklch(61.18% 0.197 296)
XYZxyz(30.8922, 20.6950, 80.1929)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162EA #BBEA62
analogous
#6277EA #9162EA #D562EA
triadic
#9162EA #EA9162 #62EA91
tetradic
#9162EA #EA6277 #BBEA62 #62EAD5
square
#9162EA #EA6277 #BBEA62 #62EAD5
split-complementary
#9162EA #EAD562 #77EA62
monochromatic
#5019B9 #6B2CE3 #9162EA #B798F1 #DDCEF8

Accessibility & contrast

On white

4.09
#9162EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9162EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162EA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162EA#FFFFFF#000000##000000
##9162EA1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7EEE
Deuteranopia (green-blind)
#287CE7
Tritanopia (blue-blind)
#7B7F9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9162ea;
/* rgb */ color: rgb(145, 98, 234);
/* oklch */ color: oklch(61.2% 0.197 296.0);
Tailwind
colors: {
  custom: {
    50: '#b690f1',
    500: '#9162ea',
    950: '#000000',
  },
}
SCSS
$custom: #9162ea;
$custom-light: #b690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9162ea",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 260.735,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.19706,
    "h": 296
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#9162EA
secondary
#DBEBBD
accent
#D90D92
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162EA

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

Preview Lab → · Contrast checker → · Palette generator →

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