#9162F6#9162F6

#9162F6 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.211 H 294.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9162F6
RGBrgb(145, 98, 246)
HSLhsl(259, 89%, 67%)
HSVhsv(259, 60%, 96%)
CMYKcmyk(41.1%, 60.2%, 0%, 3.5%)
CIE-LABlab(53.39, 51.15, -67.76)
CIE-LCHlch(53.39, 84.90, 307.05°)
OKLaboklab(62% 0.0859 -0.1931)
OKLCHoklch(62% 0.211 294)
XYZxyz(32.6748, 21.4081, 89.5815)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162F6 #C7F662
analogous
#627DF6 #9162F6 #DB62F6
triadic
#9162F6 #F69162 #62F691
tetradic
#9162F6 #F6627D #C7F662 #62F6DB
square
#9162F6 #F6627D #C7F662 #62F6DB
split-complementary
#9162F6 #F6DB62 #7DF662
monochromatic
#4B0CD2 #6828F3 #9162F6 #BA9CF9 #E2D6FD

Accessibility & contrast

On white

3.98
#9162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162F6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162F6#FFFFFF#000000##000000
##9162F61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#7683A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9162f6;
/* rgb */ color: rgb(145, 98, 246);
/* oklch */ color: oklch(62.0% 0.211 294.0);
Tailwind
colors: {
  custom: {
    50: '#b791fa',
    500: '#9162f6',
    950: '#000000',
  },
}
SCSS
$custom: #9162f6;
$custom-light: #b791fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9162f6",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 259.054,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62,
    "c": 0.2114,
    "h": 294
  },
  "luminance": 0.21409
}

Semantic roles & 50–950 ramp

primary
#9162F6
secondary
#E2F1C3
accent
#E6009D
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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