#9162EC#9162EC

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

Color values

HEX#9162EC
RGBrgb(145, 98, 236)
HSLhsl(260, 78%, 65%)
HSVhsv(260, 58%, 93%)
CMYKcmyk(38.6%, 58.5%, 0%, 7.5%)
CIE-LABlab(52.74, 48.54, -63.23)
CIE-LCHlch(52.74, 79.72, 307.51°)
OKLaboklab(61.32% 0.0863 -0.1798)
OKLCHoklch(61.32% 0.199 295.6)
XYZxyz(31.1811, 20.8106, 81.7146)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162EC #BDEC62
analogous
#6278EC #9162EC #D662EC
triadic
#9162EC #EC9162 #62EC91
tetradic
#9162EC #EC6278 #BDEC62 #62ECD6
square
#9162EC #EC6278 #BDEC62 #62ECD6
split-complementary
#9162EC #ECD662 #78EC62
monochromatic
#4F17BD #6B2BE5 #9162EC #B799F3 #DDCFF9

Accessibility & contrast

On white

4.07
#9162EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9162EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162EC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162EC#FFFFFF#000000##000000
##9162EC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#7A809E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9162ec;
/* rgb */ color: rgb(145, 98, 236);
/* oklch */ color: oklch(61.3% 0.199 295.6);
Tailwind
colors: {
  custom: {
    50: '#b690f3',
    500: '#9162ec',
    950: '#000000',
  },
}
SCSS
$custom: #9162ec;
$custom-light: #b690f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9162ec",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 260.435,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61317,
    "c": 0.19946,
    "h": 295.6
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#9162EC
secondary
#DCECBE
accent
#DB0B94
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162EC

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

Preview Lab → · Contrast checker → · Palette generator →

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