#9178AB#9178AB

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

Color values

HEX#9178AB
RGBrgb(145, 120, 171)
HSLhsl(269, 23%, 57%)
HSVhsv(269, 30%, 67%)
CMYKcmyk(15.2%, 29.8%, 0%, 32.9%)
CIE-LABlab(54.44, 19.87, -23.54)
CIE-LCHlch(54.44, 30.81, 310.17°)
OKLaboklab(61.5% 0.0479 -0.0646)
OKLCHoklch(61.5% 0.08 306.6)
XYZxyz(25.7428, 22.3931, 41.4863)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178AB #92AB78
analogous
#7878AB #9178AB #AB78AB
triadic
#9178AB #AB9178 #78AB91
tetradic
#9178AB #AB7878 #92AB78 #78ABAB
square
#9178AB #AB7878 #92AB78 #78ABAB
split-complementary
#9178AB #ABAB78 #78AB78
monochromatic
#544168 #72588E #9178AB #B09EC2 #CEC3DA

Accessibility & contrast

On white

3.83
#9178AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9178AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9178AB#FFFFFF#000000##000000
##9178AB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AD
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#8D7F8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9178ab;
/* rgb */ color: rgb(145, 120, 171);
/* oklch */ color: oklch(61.5% 0.080 306.6);
Tailwind
colors: {
  custom: {
    50: '#b29fc4',
    500: '#9178ab',
    950: '#000000',
  },
}
SCSS
$custom: #9178ab;
$custom-light: #b29fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ab",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 269.412,
    "s": 23.288,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.08039,
    "h": 306.6
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#9178AB
secondary
#C0CAB5
accent
#C06895
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E12
muted
#807E81

Preview Lab

Preview with #9178AB

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

Preview Lab → · Contrast checker → · Palette generator →

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