#9166BF#9166BF

#9166BF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.2% C 0.138 H 304.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9166BF
RGBrgb(145, 102, 191)
HSLhsl(269, 41%, 57%)
HSVhsv(269, 47%, 75%)
CMYKcmyk(24.1%, 46.6%, 0%, 25.1%)
CIE-LABlab(51.02, 35.00, -40.42)
CIE-LCHlch(51.02, 53.47, 310.89°)
OKLaboklab(59.21% 0.0787 -0.113)
OKLCHoklch(59.21% 0.138 304.9)
XYZxyz(25.8304, 19.2842, 51.6415)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166BF #94BF66
analogous
#6667BF #9166BF #BE66BF
triadic
#9166BF #BF9166 #66BF91
tetradic
#9166BF #BF6667 #94BF66 #66BFBE
square
#9166BF #BF6667 #94BF66 #66BFBE
split-complementary
#9166BF #BFBE66 #67BF66
monochromatic
#543278 #7244A3 #9166BF #B091D1 #CFBCE3

Accessibility & contrast

On white

4.32
#9166BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9166BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166BF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166BF#FFFFFF#000000##000000
##9166BF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#8A7589
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9166bf;
/* rgb */ color: rgb(145, 102, 191);
/* oklch */ color: oklch(59.2% 0.138 304.9);
Tailwind
colors: {
  custom: {
    50: '#b392d3',
    500: '#9166bf',
    950: '#000000',
  },
}
SCSS
$custom: #9166bf;
$custom-light: #b392d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9166bf",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 268.989,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.13776,
    "h": 304.9
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#9166BF
secondary
#C1D2AE
accent
#D15796
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9166BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9166BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva