#9178A9#9178A9

#9178A9 is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.4% C 0.078 H 307.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9178A9
RGBrgb(145, 120, 169)
HSLhsl(271, 22%, 57%)
HSVhsv(271, 29%, 66%)
CMYKcmyk(14.2%, 29%, 0%, 33.7%)
CIE-LABlab(54.36, 19.42, -22.51)
CIE-LCHlch(54.36, 29.73, 310.79°)
OKLaboklab(61.42% 0.0473 -0.0616)
OKLCHoklch(61.42% 0.078 307.5)
XYZxyz(25.5536, 22.3174, 40.4899)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178A9 #90A978
analogous
#7978A9 #9178A9 #A978A9
triadic
#9178A9 #A99178 #78A991
tetradic
#9178A9 #A97978 #90A978 #78A9A9
square
#9178A9 #A97978 #90A978 #78A9A9
split-complementary
#9178A9 #A9A978 #78A979
monochromatic
#544166 #72598B #9178A9 #AF9DC1 #CEC3D9

Accessibility & contrast

On white

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

On black

5.46
#9178A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9178A9#FFFFFF#000000##000000
##9178A91.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F81AB
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#8E7F89
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9178a9;
/* rgb */ color: rgb(145, 120, 169);
/* oklch */ color: oklch(61.4% 0.078 307.5);
Tailwind
colors: {
  custom: {
    50: '#b19fc2',
    500: '#9178a9',
    950: '#000000',
  },
}
SCSS
$custom: #9178a9;
$custom-light: #b19fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9178a9",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 169
  },
  "hsl": {
    "h": 270.612,
    "s": 22.172,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.0777,
    "h": 307.5
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#9178A9
secondary
#BEC8B4
accent
#BF6993
background
#FAF9FB
surface
#F5F2F7
border
#CFCCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #9178A9

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

Preview Lab → · Contrast checker → · Palette generator →

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