#9178AA#9178AA

#9178AA is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.5% C 0.079 H 307.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9178AA
RGBrgb(145, 120, 170)
HSLhsl(270, 23%, 57%)
HSVhsv(270, 29%, 67%)
CMYKcmyk(14.7%, 29.4%, 0%, 33.3%)
CIE-LABlab(54.40, 19.65, -23.02)
CIE-LCHlch(54.40, 30.27, 310.47°)
OKLaboklab(61.46% 0.0476 -0.0631)
OKLCHoklch(61.46% 0.079 307)
XYZxyz(25.6479, 22.3551, 40.9862)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178AA #91AA78
analogous
#7878AA #9178AA #AA78AA
triadic
#9178AA #AA9178 #78AA91
tetradic
#9178AA #AA7878 #91AA78 #78AAAA
square
#9178AA #AA7878 #91AA78 #78AAAA
split-complementary
#9178AA #AAAA78 #78AA78
monochromatic
#544167 #72588C #9178AA #B09EC2 #CEC3D9

Accessibility & contrast

On white

3.84
#9178AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9178AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9178AA#FFFFFF#000000##000000
##9178AA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F81AC
Deuteranopia (green-blind)
#7482A9
Tritanopia (blue-blind)
#8E7F8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9178aa;
/* rgb */ color: rgb(145, 120, 170);
/* oklch */ color: oklch(61.5% 0.079 307.0);
Tailwind
colors: {
  custom: {
    50: '#b29fc3',
    500: '#9178aa',
    950: '#000000',
  },
}
SCSS
$custom: #9178aa;
$custom-light: #b29fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9178aa",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.07905,
    "h": 307
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#9178AA
secondary
#BFC9B5
accent
#BF6994
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E12
muted
#807E81

Preview Lab

Preview with #9178AA

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

Preview Lab → · Contrast checker → · Palette generator →

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