#9161DE#9161DE

#9161DE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.184 H 298.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9161DE
RGBrgb(145, 97, 222)
HSLhsl(263, 65%, 63%)
HSVhsv(263, 56%, 87%)
CMYKcmyk(34.7%, 56.3%, 0%, 12.9%)
CIE-LABlab(51.66, 45.49, -57.09)
CIE-LCHlch(51.66, 73.00, 308.55°)
OKLaboklab(60.24% 0.0876 -0.1618)
OKLCHoklch(60.24% 0.184 298.4)
XYZxyz(29.1333, 19.8427, 71.3882)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161DE #AEDE61
analogous
#616FDE #9161DE #CF61DE
triadic
#9161DE #DE9161 #61DE91
tetradic
#9161DE #DE616F #AEDE61 #61DECF
square
#9161DE #DE616F #AEDE61 #61DECF
split-complementary
#9161DE #DECF61 #6FDE61
monochromatic
#5322A3 #6E2ED3 #9161DE #B494E9 #D7C6F3

Accessibility & contrast

On white

4.23
#9161DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9161DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161DE#FFFFFF#000000##000000
##9161DE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE2
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#807B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9161de;
/* rgb */ color: rgb(145, 97, 222);
/* oklch */ color: oklch(60.2% 0.184 298.4);
Tailwind
colors: {
  custom: {
    50: '#b58fe9',
    500: '#9161de',
    950: '#000000',
  },
}
SCSS
$custom: #9161de;
$custom-light: #b58fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9161de",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 222
  },
  "hsl": {
    "h": 263.04,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.18398,
    "h": 298.4
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#9161DE
secondary
#D3E4B7
accent
#CD1888
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9161DE

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

Preview Lab → · Contrast checker → · Palette generator →

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