#9161EF#9161EF

#9161EF is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.204 H 295.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9161EF
RGBrgb(145, 97, 239)
HSLhsl(260, 82%, 66%)
HSVhsv(260, 59%, 94%)
CMYKcmyk(39.3%, 59.4%, 0%, 6.3%)
CIE-LABlab(52.73, 49.86, -64.93)
CIE-LCHlch(52.73, 81.87, 307.52°)
OKLaboklab(61.37% 0.0873 -0.1848)
OKLCHoklch(61.37% 0.204 295.3)
XYZxyz(31.5277, 20.8005, 83.9984)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161EF #BFEF61
analogous
#6178EF #9161EF #D861EF
triadic
#9161EF #EF9161 #61EF91
tetradic
#9161EF #EF6178 #BFEF61 #61EFD8
square
#9161EF #EF6178 #BFEF61 #61EFD8
split-complementary
#9161EF #EFD861 #78EF61
monochromatic
#4F14C2 #6A29E9 #9161EF #B899F5 #DED0FA

Accessibility & contrast

On white

4.07
#9161EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9161EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161EF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161EF#FFFFFF#000000##000000
##9161EF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#1A7CEC
Tritanopia (blue-blind)
#79809F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9161ef;
/* rgb */ color: rgb(145, 97, 239);
/* oklch */ color: oklch(61.4% 0.204 295.3);
Tailwind
colors: {
  custom: {
    50: '#b790f5',
    500: '#9161ef',
    950: '#000000',
  },
}
SCSS
$custom: #9161ef;
$custom-light: #b790f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9161ef",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 260.282,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6137,
    "c": 0.20442,
    "h": 295.3
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#9161EF
secondary
#DEEDBE
accent
#DE0895
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120D17
muted
#817D85

Preview Lab

Preview with #9161EF

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

Preview Lab → · Contrast checker → · Palette generator →

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