#9178A3#9178A3

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

Color values

HEX#9178A3
RGBrgb(145, 120, 163)
HSLhsl(275, 19%, 55%)
HSVhsv(275, 26%, 64%)
CMYKcmyk(11%, 26.4%, 0%, 36.1%)
CIE-LABlab(54.13, 18.09, -19.39)
CIE-LCHlch(54.13, 26.52, 313.01°)
OKLaboklab(61.16% 0.0455 -0.0529)
OKLCHoklch(61.16% 0.07 310.7)
XYZxyz(25.0032, 22.0973, 37.5912)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178A3 #8AA378
analogous
#7B78A3 #9178A3 #A3789F
triadic
#9178A3 #A39178 #78A391
tetradic
#9178A3 #A37B78 #8AA378 #789FA3
square
#9178A3 #A37B78 #8AA378 #789FA3
split-complementary
#9178A3 #9FA378 #78A37B
monochromatic
#534160 #725A84 #9178A3 #AF9CBC #CCC1D5

Accessibility & contrast

On white

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

On black

5.42
#9178A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178A3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178A3#FFFFFF#000000##000000
##9178A31.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A5
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#8F7D87
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9178a3;
/* rgb */ color: rgb(145, 120, 163);
/* oklch */ color: oklch(61.2% 0.070 310.7);
Tailwind
colors: {
  custom: {
    50: '#b19fbe',
    500: '#9178a3',
    950: '#000000',
  },
}
SCSS
$custom: #9178a3;
$custom-light: #b19fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9178a3",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 274.884,
    "s": 18.943,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.06974,
    "h": 310.7
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#9178A3
secondary
#BAC4B2
accent
#BC6C8D
background
#FAF9FB
surface
#F5F2F6
border
#CFCCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #9178A3

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

Preview Lab → · Contrast checker → · Palette generator →

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