#9161DC#9161DC

#9161DC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.182 H 298.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9161DC
RGBrgb(145, 97, 220)
HSLhsl(263, 64%, 62%)
HSVhsv(263, 56%, 86%)
CMYKcmyk(34.1%, 55.9%, 0%, 13.7%)
CIE-LABlab(51.54, 44.98, -56.16)
CIE-LCHlch(51.54, 71.95, 308.69°)
OKLaboklab(60.11% 0.0876 -0.159)
OKLCHoklch(60.11% 0.182 298.8)
XYZxyz(28.8669, 19.7361, 69.9849)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161DC #ACDC61
analogous
#616EDC #9161DC #CF61DC
triadic
#9161DC #DC9161 #61DC91
tetradic
#9161DC #DC616E #ACDC61 #61DCCF
square
#9161DC #DC616E #ACDC61 #61DCCF
split-complementary
#9161DC #DCCF61 #6EDC61
monochromatic
#54239F #6E2FD1 #9161DC #B493E7 #D7C5F2

Accessibility & contrast

On white

4.24
#9161DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9161DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161DC#FFFFFF#000000##000000
##9161DC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE0
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#817A95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9161dc;
/* rgb */ color: rgb(145, 97, 220);
/* oklch */ color: oklch(60.1% 0.182 298.8);
Tailwind
colors: {
  custom: {
    50: '#b58fe7',
    500: '#9161dc',
    950: '#000000',
  },
}
SCSS
$custom: #9161dc;
$custom-light: #b58fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9161dc",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 263.415,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.18156,
    "h": 298.8
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#9161DC
secondary
#D1E3B6
accent
#CC1A86
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9161DC

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

Preview Lab → · Contrast checker → · Palette generator →

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