#9161CE#9161CE

#9161CE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.164 H 301.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9161CE
RGBrgb(145, 97, 206)
HSLhsl(266, 53%, 59%)
HSVhsv(266, 53%, 81%)
CMYKcmyk(29.6%, 52.9%, 0%, 19.2%)
CIE-LABlab(50.72, 41.48, -49.51)
CIE-LCHlch(50.72, 64.58, 309.96°)
OKLaboklab(59.25% 0.087 -0.1395)
OKLCHoklch(59.25% 0.164 301.9)
XYZxyz(27.0898, 19.0253, 60.6256)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161CE #9ECE61
analogous
#6168CE #9161CE #C861CE
triadic
#9161CE #CE9161 #61CE91
tetradic
#9161CE #CE6168 #9ECE61 #61CEC8
square
#9161CE #CE6168 #9ECE61 #61CEC8
split-complementary
#9161CE #CEC861 #68CE61
monochromatic
#552B8A #7139B9 #9161CE #B290DC #D2BEEB

Accessibility & contrast

On white

4.37
#9161CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9161CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161CE#FFFFFF#000000##000000
##9161CE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#85768E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9161ce;
/* rgb */ color: rgb(145, 97, 206);
/* oklch */ color: oklch(59.2% 0.164 301.9);
Tailwind
colors: {
  custom: {
    50: '#b48fdd',
    500: '#9161ce',
    950: '#000000',
  },
}
SCSS
$custom: #9161ce;
$custom-light: #b48fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9161ce",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 266.422,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.16446,
    "h": 301.9
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#9161CE
secondary
#C8DBB0
accent
#DC4C9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9161CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9161CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva