#9166BE#9166BE

#9166BE is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.2% C 0.137 H 305.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9166BE
RGBrgb(145, 102, 190)
HSLhsl(269, 40%, 57%)
HSVhsv(269, 46%, 75%)
CMYKcmyk(23.7%, 46.3%, 0%, 25.5%)
CIE-LABlab(50.97, 34.76, -39.93)
CIE-LCHlch(50.97, 52.94, 311.04°)
OKLaboklab(59.15% 0.0786 -0.1116)
OKLCHoklch(59.15% 0.137 305.2)
XYZxyz(25.7208, 19.2403, 51.0640)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166BE #93BE66
analogous
#6667BE #9166BE #BD66BE
triadic
#9166BE #BE9166 #66BE91
tetradic
#9166BE #BE6667 #93BE66 #66BEBD
square
#9166BE #BE6667 #93BE66 #66BEBD
split-complementary
#9166BE #BEBD66 #67BE66
monochromatic
#543377 #7245A2 #9166BE #B091D0 #CFBCE2

Accessibility & contrast

On white

4.33
#9166BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9166BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166BE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166BE#FFFFFF#000000##000000
##9166BE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9166be;
/* rgb */ color: rgb(145, 102, 190);
/* oklch */ color: oklch(59.2% 0.137 305.2);
Tailwind
colors: {
  custom: {
    50: '#b392d2',
    500: '#9166be',
    950: '#000000',
  },
}
SCSS
$custom: #9166be;
$custom-light: #b392d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9166be",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 269.318,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.1365,
    "h": 305.2
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#9166BE
secondary
#C0D2AE
accent
#D05895
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9166BE

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

Preview Lab → · Contrast checker → · Palette generator →

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