#9162F4#9162F4

#9162F4 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.209 H 294.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9162F4
RGBrgb(145, 98, 244)
HSLhsl(259, 87%, 67%)
HSVhsv(259, 60%, 96%)
CMYKcmyk(40.6%, 59.8%, 0%, 4.3%)
CIE-LABlab(53.26, 50.63, -66.86)
CIE-LCHlch(53.26, 83.87, 307.13°)
OKLaboklab(61.86% 0.086 -0.1905)
OKLCHoklch(61.86% 0.209 294.3)
XYZxyz(32.3695, 21.2860, 87.9736)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162F4 #C5F462
analogous
#627CF4 #9162F4 #DA62F4
triadic
#9162F4 #F49162 #62F491
tetradic
#9162F4 #F4627C #C5F462 #62F4DA
square
#9162F4 #F4627C #C5F462 #62F4DA
split-complementary
#9162F4 #F4DA62 #7CF462
monochromatic
#4C0ECD #6929F0 #9162F4 #B99BF8 #E1D4FC

Accessibility & contrast

On white

3.99
#9162F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9162F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162F4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162F4#FFFFFF#000000##000000
##9162F41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#0A7DF1
Tritanopia (blue-blind)
#7782A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9162f4;
/* rgb */ color: rgb(145, 98, 244);
/* oklch */ color: oklch(61.9% 0.209 294.3);
Tailwind
colors: {
  custom: {
    50: '#b791f9',
    500: '#9162f4',
    950: '#000000',
  },
}
SCSS
$custom: #9162f4;
$custom-light: #b791f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9162f4",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 259.315,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61862,
    "c": 0.20903,
    "h": 294.3
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#9162F4
secondary
#E1F0C2
accent
#E3029B
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162F4

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

Preview Lab → · Contrast checker → · Palette generator →

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