#9160E9#9160E9

#9160E9 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.199 H 296.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9160E9
RGBrgb(145, 96, 233)
HSLhsl(261, 76%, 65%)
HSVhsv(261, 59%, 91%)
CMYKcmyk(37.8%, 58.8%, 0%, 8.6%)
CIE-LABlab(52.14, 48.85, -62.52)
CIE-LCHlch(52.14, 79.34, 308.00°)
OKLaboklab(60.82% 0.0887 -0.1777)
OKLCHoklch(60.82% 0.199 296.5)
XYZxyz(30.5641, 20.2681, 79.3768)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9160E9 #B8E960
analogous
#6074E9 #9160E9 #D660E9
triadic
#9160E9 #E99160 #60E991
tetradic
#9160E9 #E96074 #B8E960 #60E9D6
square
#9160E9 #E96074 #B8E960 #60E9D6
split-complementary
#9160E9 #E9D660 #74E960
monochromatic
#5119B5 #6C2AE2 #9160E9 #B696F0 #DBCCF8

Accessibility & contrast

On white

4.16
#9160E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9160E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9160E9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9160E9#FFFFFF#000000##000000
##9160E91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#257BE6
Tritanopia (blue-blind)
#7C7E9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9160e9;
/* rgb */ color: rgb(145, 96, 233);
/* oklch */ color: oklch(60.8% 0.199 296.5);
Tailwind
colors: {
  custom: {
    50: '#b68ff1',
    500: '#9160e9',
    950: '#000000',
  },
}
SCSS
$custom: #9160e9;
$custom-light: #b68ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9160e9",
  "rgb": {
    "r": 145,
    "g": 96,
    "b": 233
  },
  "hsl": {
    "h": 261.46,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.19863,
    "h": 296.5
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#9160E9
secondary
#D9EABB
accent
#D80E90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9160E9

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

Preview Lab → · Contrast checker → · Palette generator →

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