#9161EE#9161EE

#9161EE is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.3% C 0.203 H 295.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9161EE
RGBrgb(145, 97, 238)
HSLhsl(260, 81%, 66%)
HSVhsv(260, 59%, 93%)
CMYKcmyk(39.1%, 59.2%, 0%, 6.7%)
CIE-LABlab(52.67, 49.60, -64.47)
CIE-LCHlch(52.67, 81.35, 307.57°)
OKLaboklab(61.3% 0.0874 -0.1835)
OKLCHoklch(61.3% 0.203 295.5)
XYZxyz(31.3803, 20.7415, 83.2225)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161EE #BEEE61
analogous
#6177EE #9161EE #D861EE
triadic
#9161EE #EE9161 #61EE91
tetradic
#9161EE #EE6177 #BEEE61 #61EED8
square
#9161EE #EE6177 #BEEE61 #61EED8
split-complementary
#9161EE #EED861 #77EE61
monochromatic
#4F15C0 #6B2AE8 #9161EE #B798F4 #DED0FA

Accessibility & contrast

On white

4.08
#9161EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9161EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161EE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161EE#FFFFFF#000000##000000
##9161EE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#1D7CEB
Tritanopia (blue-blind)
#7A809E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9161ee;
/* rgb */ color: rgb(145, 97, 238);
/* oklch */ color: oklch(61.3% 0.203 295.5);
Tailwind
colors: {
  custom: {
    50: '#b790f4',
    500: '#9161ee',
    950: '#000000',
  },
}
SCSS
$custom: #9161ee;
$custom-light: #b790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9161ee",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 260.426,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.20322,
    "h": 295.5
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#9161EE
secondary
#DDEDBE
accent
#DD0995
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161EE

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

Preview Lab → · Contrast checker → · Palette generator →

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