#9178A4#9178A4

#9178A4 is a mid, moderate violet. Relative luminance 0.221; OKLCH L 61.2% C 0.071 H 310.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9178A4
RGBrgb(145, 120, 164)
HSLhsl(274, 19%, 56%)
HSVhsv(274, 27%, 64%)
CMYKcmyk(11.6%, 26.8%, 0%, 35.7%)
CIE-LABlab(54.17, 18.31, -19.91)
CIE-LCHlch(54.17, 27.05, 312.60°)
OKLaboklab(61.2% 0.0458 -0.0543)
OKLCHoklch(61.2% 0.071 310.1)
XYZxyz(25.0932, 22.1333, 38.0650)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178A4 #8BA478
analogous
#7B78A4 #9178A4 #A478A1
triadic
#9178A4 #A49178 #78A491
tetradic
#9178A4 #A47B78 #8BA478 #78A1A4
square
#9178A4 #A47B78 #8BA478 #78A1A4
split-complementary
#9178A4 #A1A478 #78A47B
monochromatic
#534161 #725A85 #9178A4 #AF9DBD #CDC1D5

Accessibility & contrast

On white

3.87
#9178A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9178A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178A4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178A4#FFFFFF#000000##000000
##9178A41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A6
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#8F7E87
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9178a4;
/* rgb */ color: rgb(145, 120, 164);
/* oklch */ color: oklch(61.2% 0.071 310.1);
Tailwind
colors: {
  custom: {
    50: '#b19fbf',
    500: '#9178a4',
    950: '#000000',
  },
}
SCSS
$custom: #9178a4;
$custom-light: #b19fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9178a4",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 164
  },
  "hsl": {
    "h": 274.091,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.07105,
    "h": 310.1
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#9178A4
secondary
#BBC5B3
accent
#BC6C8E
background
#FAF9FB
surface
#F5F2F7
border
#CFCCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #9178A4

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

Preview Lab → · Contrast checker → · Palette generator →

#9178A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva