#9178BA#9178BA

#9178BA is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.2% C 0.101 H 300.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9178BA
RGBrgb(145, 120, 186)
HSLhsl(263, 32%, 60%)
HSVhsv(263, 35%, 73%)
CMYKcmyk(22%, 35.5%, 0%, 27.1%)
CIE-LABlab(55.07, 23.38, -31.20)
CIE-LCHlch(55.07, 38.98, 306.85°)
OKLaboklab(62.19% 0.0518 -0.0864)
OKLCHoklch(62.19% 0.101 300.9)
XYZxyz(27.2545, 22.9978, 49.4480)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178BA #A1BA78
analogous
#7880BA #9178BA #B278BA
triadic
#9178BA #BA9178 #78BA91
tetradic
#9178BA #BA7880 #A1BA78 #78BAB2
square
#9178BA #BA7880 #A1BA78 #78BAB2
split-complementary
#9178BA #BAB278 #80BA78
monochromatic
#553E7A #7153A2 #9178BA #B2A0CF #D3C9E3

Accessibility & contrast

On white

3.75
#9178BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#9178BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9178BA#FFFFFF#000000##000000
##9178BA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6983BD
Deuteranopia (green-blind)
#6D84B8
Tritanopia (blue-blind)
#8A8390
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9178ba;
/* rgb */ color: rgb(145, 120, 186);
/* oklch */ color: oklch(62.2% 0.101 300.9);
Tailwind
colors: {
  custom: {
    50: '#b29fcf',
    500: '#9178ba',
    950: '#000000',
  },
}
SCSS
$custom: #9178ba;
$custom-light: #b29fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ba",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 262.727,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.10077,
    "h": 300.9
  },
  "luminance": 0.22998
}

Semantic roles & 50–950 ramp

primary
#9178BA
secondary
#CAD4BA
accent
#C95FA1
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E13
muted
#807E82

Preview Lab

Preview with #9178BA

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

Preview Lab → · Contrast checker → · Palette generator →

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