#9160CA#9160CA

#9160CA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.161 H 303.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9160CA
RGBrgb(145, 96, 202)
HSLhsl(268, 50%, 58%)
HSVhsv(268, 52%, 79%)
CMYKcmyk(28.2%, 52.5%, 0%, 20.8%)
CIE-LABlab(50.27, 41.05, -47.92)
CIE-LCHlch(50.27, 63.10, 310.58°)
OKLaboklab(58.85% 0.0881 -0.1349)
OKLCHoklch(58.85% 0.161 303.1)
XYZxyz(26.5182, 18.6498, 58.0684)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9160CA #99CA60
analogous
#6064CA #9160CA #C660CA
triadic
#9160CA #CA9160 #60CA91
tetradic
#9160CA #CA6064 #99CA60 #60CAC6
square
#9160CA #CA6064 #99CA60 #60CAC6
split-complementary
#9160CA #CAC660 #64CA60
monochromatic
#542C84 #723BB2 #9160CA #B18ED9 #D1BCE9

Accessibility & contrast

On white

4.44
#9160CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9160CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9160CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9160CA#FFFFFF#000000##000000
##9160CA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#4B77C7
Tritanopia (blue-blind)
#87748C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9160ca;
/* rgb */ color: rgb(145, 96, 202);
/* oklch */ color: oklch(58.8% 0.161 303.1);
Tailwind
colors: {
  custom: {
    50: '#b48edb',
    500: '#9160ca',
    950: '#000000',
  },
}
SCSS
$custom: #9160ca;
$custom-light: #b48edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9160ca",
  "rgb": {
    "r": 145,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 267.736,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.16112,
    "h": 303.1
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#9160CA
secondary
#C4D8AE
accent
#DA4E99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9160CA

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

Preview Lab → · Contrast checker → · Palette generator →

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