#9161DF#9161DF

#9161DF is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.185 H 298.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9161DF
RGBrgb(145, 97, 223)
HSLhsl(263, 66%, 63%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(35%, 56.5%, 0%, 12.5%)
CIE-LABlab(51.72, 45.74, -57.56)
CIE-LCHlch(51.72, 73.52, 308.47°)
OKLaboklab(60.31% 0.0876 -0.1632)
OKLCHoklch(60.31% 0.185 298.2)
XYZxyz(29.2677, 19.8965, 72.0962)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9161DF #AFDF61
analogous
#6170DF #9161DF #D061DF
triadic
#9161DF #DF9161 #61DF91
tetradic
#9161DF #DF6170 #AFDF61 #61DFD0
square
#9161DF #DF6170 #AFDF61 #61DFD0
split-complementary
#9161DF #DFD061 #70DF61
monochromatic
#5321A4 #6E2ED5 #9161DF #B494E9 #D8C7F4

Accessibility & contrast

On white

4.22
#9161DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9161DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9161DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9161DF#FFFFFF#000000##000000
##9161DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#247BE3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#807B97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9161df;
/* rgb */ color: rgb(145, 97, 223);
/* oklch */ color: oklch(60.3% 0.185 298.2);
Tailwind
colors: {
  custom: {
    50: '#b58fea',
    500: '#9161df',
    950: '#000000',
  },
}
SCSS
$custom: #9161df;
$custom-light: #b58fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9161df",
  "rgb": {
    "r": 145,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 262.857,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.18519,
    "h": 298.2
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#9161DF
secondary
#D3E5B7
accent
#CE1789
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9161DF

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

Preview Lab → · Contrast checker → · Palette generator →

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