#9161EA#9161EA

#9161EA is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.198 H 296.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9161EA
RGBrgb(145, 97, 234)
HSLhsl(261, 77%, 65%)
HSVhsv(261, 59%, 92%)
CMYKcmyk(38%, 58.5%, 0%, 8.2%)
CIE-LABlab(52.41, 48.57, -62.65)
CIE-LCHlch(52.41, 79.27, 307.78°)
OKLaboklab(61.03% 0.0875 -0.1781)
OKLCHoklch(61.03% 0.198 296.2)
XYZxyz(30.7992, 20.5091, 80.1619)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161EA #BAEA61
analogous
#6176EA #9161EA #D661EA
triadic
#9161EA #EA9161 #61EA91
tetradic
#9161EA #EA6176 #BAEA61 #61EAD6
square
#9161EA #EA6176 #BAEA61 #61EAD6
split-complementary
#9161EA #EAD661 #76EA61
monochromatic
#5018B8 #6B2BE3 #9161EA #B797F1 #DCCDF8

Accessibility & contrast

On white

4.12
#9161EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9161EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161EA#FFFFFF#000000##000000
##9161EA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EEE
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#7B7F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9161ea;
/* rgb */ color: rgb(145, 97, 234);
/* oklch */ color: oklch(61.0% 0.198 296.2);
Tailwind
colors: {
  custom: {
    50: '#b690f1',
    500: '#9161ea',
    950: '#000000',
  },
}
SCSS
$custom: #9161ea;
$custom-light: #b690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9161ea",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 261.022,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.19844,
    "h": 296.2
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#9161EA
secondary
#DAEBBC
accent
#D90D91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161EA

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

Preview Lab → · Contrast checker → · Palette generator →

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