#9160F5#9160F5

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

Color values

HEX#9160F5
RGBrgb(145, 96, 245)
HSLhsl(260, 88%, 67%)
HSVhsv(260, 61%, 96%)
CMYKcmyk(40.8%, 60.8%, 0%, 3.9%)
CIE-LABlab(52.92, 51.96, -67.96)
CIE-LCHlch(52.92, 85.55, 307.40°)
OKLaboklab(61.64% 0.0882 -0.1937)
OKLCHoklch(61.64% 0.213 294.5)
XYZxyz(32.3370, 20.9773, 88.7138)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9160F5 #C4F560
analogous
#6079F5 #9160F5 #DC60F5
triadic
#9160F5 #F59160 #60F591
tetradic
#9160F5 #F56079 #C4F560 #60F5DC
square
#9160F5 #F56079 #C4F560 #60F5DC
split-complementary
#9160F5 #F5DC60 #79F560
monochromatic
#4C0DCE #6926F1 #9160F5 #B99AF9 #E1D3FC

Accessibility & contrast

On white

4.04
#9160F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9160F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9160F5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9160F5#FFFFFF#000000##000000
##9160F51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#7782A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9160f5;
/* rgb */ color: rgb(145, 96, 245);
/* oklch */ color: oklch(61.6% 0.213 294.5);
Tailwind
colors: {
  custom: {
    50: '#b78ff9',
    500: '#9160f5',
    950: '#000000',
  },
}
SCSS
$custom: #9160f5;
$custom-light: #b78ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9160f5",
  "rgb": {
    "r": 145,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 259.732,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.21286,
    "h": 294.5
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#9160F5
secondary
#E1F0C1
accent
#E5019A
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #9160F5

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

Preview Lab → · Contrast checker → · Palette generator →

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