#9162F0#9162F0

#9162F0 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.6% C 0.204 H 295.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9162F0
RGBrgb(145, 98, 240)
HSLhsl(260, 83%, 66%)
HSVhsv(260, 59%, 94%)
CMYKcmyk(39.6%, 59.2%, 0%, 5.9%)
CIE-LABlab(53.00, 49.58, -65.05)
CIE-LCHlch(53.00, 81.80, 307.32°)
OKLaboklab(61.59% 0.0862 -0.1852)
OKLCHoklch(61.59% 0.204 295)
XYZxyz(31.7688, 21.0457, 84.8096)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162F0 #C1F062
analogous
#627AF0 #9162F0 #D862F0
triadic
#9162F0 #F09162 #62F091
tetradic
#9162F0 #F0627A #C1F062 #62F0D8
square
#9162F0 #F0627A #C1F062 #62F0D8
split-complementary
#9162F0 #F0D862 #7AF062
monochromatic
#4E13C5 #6A2AEB #9162F0 #B89AF5 #DFD2FB

Accessibility & contrast

On white

4.03
#9162F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9162F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162F0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162F0#FFFFFF#000000##000000
##9162F01.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#1A7CED
Tritanopia (blue-blind)
#7981A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9162f0;
/* rgb */ color: rgb(145, 98, 240);
/* oklch */ color: oklch(61.6% 0.204 295.0);
Tailwind
colors: {
  custom: {
    50: '#b790f6',
    500: '#9162f0',
    950: '#000000',
  },
}
SCSS
$custom: #9162f0;
$custom-light: #b790f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9162f0",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 259.859,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.20426,
    "h": 295
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#9162F0
secondary
#DFEEC0
accent
#DF0797
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162F0

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

Preview Lab → · Contrast checker → · Palette generator →

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