#9162F5#9162F5

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

Color values

HEX#9162F5
RGBrgb(145, 98, 245)
HSLhsl(259, 88%, 67%)
HSVhsv(259, 60%, 96%)
CMYKcmyk(40.8%, 60%, 0%, 3.9%)
CIE-LABlab(53.33, 50.89, -67.31)
CIE-LCHlch(53.33, 84.39, 307.09°)
OKLaboklab(61.93% 0.086 -0.1918)
OKLCHoklch(61.93% 0.21 294.1)
XYZxyz(32.5218, 21.3469, 88.7754)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162F5 #C6F562
analogous
#627CF5 #9162F5 #DB62F5
triadic
#9162F5 #F59162 #62F591
tetradic
#9162F5 #F5627C #C6F562 #62F5DB
square
#9162F5 #F5627C #C6F562 #62F5DB
split-complementary
#9162F5 #F5DB62 #7CF562
monochromatic
#4B0DCF #6928F1 #9162F5 #B99CF9 #E2D5FC

Accessibility & contrast

On white

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

On black

5.27
#9162F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162F5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162F5#FFFFFF#000000##000000
##9162F51.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#037DF2
Tritanopia (blue-blind)
#7783A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9162f5;
/* rgb */ color: rgb(145, 98, 245);
/* oklch */ color: oklch(61.9% 0.210 294.1);
Tailwind
colors: {
  custom: {
    50: '#b791f9',
    500: '#9162f5',
    950: '#000000',
  },
}
SCSS
$custom: #9162f5;
$custom-light: #b791f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9162f5",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 259.184,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.21021,
    "h": 294.1
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#9162F5
secondary
#E2F1C2
accent
#E5019C
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162F5

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

Preview Lab → · Contrast checker → · Palette generator →

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