#9166AE#9166AE

#9166AE is a mid, moderate violet. Relative luminance 0.186; OKLCH L 58.3% C 0.116 H 310.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9166AE
RGBrgb(145, 102, 174)
HSLhsl(276, 31%, 54%)
HSVhsv(276, 41%, 68%)
CMYKcmyk(16.7%, 41.4%, 0%, 31.8%)
CIE-LABlab(50.19, 31.02, -31.87)
CIE-LCHlch(50.19, 44.48, 314.22°)
OKLaboklab(58.32% 0.0759 -0.0883)
OKLCHoklch(58.32% 0.116 310.7)
XYZxyz(24.0670, 18.5788, 42.3544)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166AE #83AE66
analogous
#6D66AE #9166AE #AE66A7
triadic
#9166AE #AE9166 #66AE91
tetradic
#9166AE #AE6D66 #83AE66 #66A7AE
square
#9166AE #AE6D66 #83AE66 #66A7AE
split-complementary
#9166AE #A7AE66 #66AE6D
monochromatic
#513564 #724A8C #9166AE #AE8EC3 #CBB6D8

Accessibility & contrast

On white

4.45
#9166AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9166AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166AE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166AE#FFFFFF#000000##000000
##9166AE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5775B1
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#8E7182
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9166ae;
/* rgb */ color: rgb(145, 102, 174);
/* oklch */ color: oklch(58.3% 0.116 310.7);
Tailwind
colors: {
  custom: {
    50: '#b292c6',
    500: '#9166ae',
    950: '#000000',
  },
}
SCSS
$custom: #9166ae;
$custom-light: #b292c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9166ae",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 275.833,
    "s": 30.769,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.11641,
    "h": 310.7
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#9166AE
secondary
#B5C7A9
accent
#C7618A
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9166AE

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

Preview Lab → · Contrast checker → · Palette generator →

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