#9166AF#9166AF

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

Color values

HEX#9166AF
RGBrgb(145, 102, 175)
HSLhsl(275, 31%, 54%)
HSVhsv(275, 42%, 69%)
CMYKcmyk(17.1%, 41.7%, 0%, 31.4%)
CIE-LABlab(50.24, 31.25, -32.38)
CIE-LCHlch(50.24, 45.00, 313.98°)
OKLaboklab(58.37% 0.0761 -0.0898)
OKLCHoklch(58.37% 0.118 310.3)
XYZxyz(24.1649, 18.6180, 42.8698)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166AF #84AF66
analogous
#6D66AF #9166AF #AF66A9
triadic
#9166AF #AF9166 #66AF91
tetradic
#9166AF #AF6D66 #84AF66 #66A9AF
square
#9166AF #AF6D66 #84AF66 #66A9AF
split-complementary
#9166AF #A9AF66 #66AF6D
monochromatic
#523566 #724A8E #9166AF #AE8EC4 #CBB6D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9166AF#FFFFFF#000000##000000
##9166AF1.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)
#5775B2
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#8E7182
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9166af;
/* rgb */ color: rgb(145, 102, 175);
/* oklch */ color: oklch(58.4% 0.118 310.3);
Tailwind
colors: {
  custom: {
    50: '#b292c7',
    500: '#9166af',
    950: '#000000',
  },
}
SCSS
$custom: #9166af;
$custom-light: #b292c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9166af",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 275.342,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.11766,
    "h": 310.3
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#9166AF
secondary
#B6C8A9
accent
#C8608B
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9166AF

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

Preview Lab → · Contrast checker → · Palette generator →

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