#9162F3#9162F3

#9162F3 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.208 H 294.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9162F3
RGBrgb(145, 98, 243)
HSLhsl(259, 86%, 67%)
HSVhsv(259, 60%, 95%)
CMYKcmyk(40.3%, 59.7%, 0%, 4.7%)
CIE-LABlab(53.20, 50.37, -66.41)
CIE-LCHlch(53.20, 83.35, 307.18°)
OKLaboklab(61.79% 0.0861 -0.1892)
OKLCHoklch(61.79% 0.208 294.5)
XYZxyz(32.2181, 21.2254, 87.1761)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162F3 #C4F362
analogous
#627CF3 #9162F3 #D962F3
triadic
#9162F3 #F39162 #62F391
tetradic
#9162F3 #F3627C #C4F362 #62F3D9
square
#9162F3 #F3627C #C4F362 #62F3D9
split-complementary
#9162F3 #F3D962 #7CF362
monochromatic
#4C10CB #6929EF #9162F3 #B99BF7 #E1D4FC

Accessibility & contrast

On white

4.00
#9162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9162F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162F3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162F3#FFFFFF#000000##000000
##9162F31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#0F7DF0
Tritanopia (blue-blind)
#7782A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9162f3;
/* rgb */ color: rgb(145, 98, 243);
/* oklch */ color: oklch(61.8% 0.208 294.5);
Tailwind
colors: {
  custom: {
    50: '#b790f8',
    500: '#9162f3',
    950: '#000000',
  },
}
SCSS
$custom: #9162f3;
$custom-light: #b790f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9162f3",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 259.448,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.20784,
    "h": 294.5
  },
  "luminance": 0.21226
}

Semantic roles & 50–950 ramp

primary
#9162F3
secondary
#E1F0C1
accent
#E2039A
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162F3

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

Preview Lab → · Contrast checker → · Palette generator →

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