#9161CF#9161CF

#9161CF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.166 H 301.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9161CF
RGBrgb(145, 97, 207)
HSLhsl(266, 53%, 60%)
HSVhsv(266, 53%, 81%)
CMYKcmyk(30%, 53.1%, 0%, 18.8%)
CIE-LABlab(50.77, 41.72, -49.99)
CIE-LCHlch(50.77, 65.11, 309.85°)
OKLaboklab(59.31% 0.0871 -0.141)
OKLCHoklch(59.31% 0.166 301.7)
XYZxyz(27.2116, 19.0741, 61.2675)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161CF #9FCF61
analogous
#6168CF #9161CF #C861CF
triadic
#9161CF #CF9161 #61CF91
tetradic
#9161CF #CF6168 #9FCF61 #61CFC8
square
#9161CF #CF6168 #9FCF61 #61CFC8
split-complementary
#9161CF #CFC861 #68CF61
monochromatic
#552A8B #7139BA #9161CF #B290DD #D2BFEC

Accessibility & contrast

On white

4.36
#9161CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9161CF#FFFFFF#000000##000000
##9161CF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#85768F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9161cf;
/* rgb */ color: rgb(145, 97, 207);
/* oklch */ color: oklch(59.3% 0.166 301.7);
Tailwind
colors: {
  custom: {
    50: '#b48fde',
    500: '#9161cf',
    950: '#000000',
  },
}
SCSS
$custom: #9161cf;
$custom-light: #b48fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9161cf",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 266.182,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59305,
    "c": 0.16569,
    "h": 301.7
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#9161CF
secondary
#C9DBB1
accent
#DD4B9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9161CF

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

Preview Lab → · Contrast checker → · Palette generator →

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