#9161CD#9161CD

#9161CD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.163 H 302.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9161CD
RGBrgb(145, 97, 205)
HSLhsl(267, 52%, 59%)
HSVhsv(267, 53%, 80%)
CMYKcmyk(29.3%, 52.7%, 0%, 19.6%)
CIE-LABlab(50.66, 41.23, -49.03)
CIE-LCHlch(50.66, 64.06, 310.06°)
OKLaboklab(59.18% 0.087 -0.1381)
OKLCHoklch(59.18% 0.163 302.2)
XYZxyz(26.9687, 18.9769, 59.9879)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161CD #9DCD61
analogous
#6167CD #9161CD #C761CD
triadic
#9161CD #CD9161 #61CD91
tetradic
#9161CD #CD6167 #9DCD61 #61CDC7
square
#9161CD #CD6167 #9DCD61 #61CDC7
split-complementary
#9161CD #CDC761 #67CD61
monochromatic
#552B88 #713AB7 #9161CD #B18FDC #D2BEEA

Accessibility & contrast

On white

4.38
#9161CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9161CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161CD#FFFFFF#000000##000000
##9161CD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#86758E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9161cd;
/* rgb */ color: rgb(145, 97, 205);
/* oklch */ color: oklch(59.2% 0.163 302.2);
Tailwind
colors: {
  custom: {
    50: '#b48fdd',
    500: '#9161cd',
    950: '#000000',
  },
}
SCSS
$custom: #9161cd;
$custom-light: #b48fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9161cd",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 266.667,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.16323,
    "h": 302.2
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#9161CD
secondary
#C7DAB0
accent
#DB4C9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9161CD

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

Preview Lab → · Contrast checker → · Palette generator →

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