#9178BD#9178BD

#9178BD is a light, moderate violet. Relative luminance 0.231; OKLCH L 62.3% C 0.105 H 300.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9178BD
RGBrgb(145, 120, 189)
HSLhsl(262, 34%, 61%)
HSVhsv(262, 37%, 74%)
CMYKcmyk(23.3%, 36.5%, 0%, 25.9%)
CIE-LABlab(55.20, 24.10, -32.71)
CIE-LCHlch(55.20, 40.63, 306.39°)
OKLaboklab(62.33% 0.0525 -0.0908)
OKLCHoklch(62.33% 0.105 300)
XYZxyz(27.5768, 23.1267, 51.1453)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178BD #A4BD78
analogous
#7881BD #9178BD #B378BD
triadic
#9178BD #BD9178 #78BD91
tetradic
#9178BD #BD7881 #A4BD78 #78BDB3
square
#9178BD #BD7881 #A4BD78 #78BDB3
split-complementary
#9178BD #BDB378 #81BD78
monochromatic
#543D7D #7051A6 #9178BD #B2A1D1 #D4CAE5

Accessibility & contrast

On white

3.73
#9178BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9178BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9178BD#FFFFFF#000000##000000
##9178BD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#6C84BB
Tritanopia (blue-blind)
#898392
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9178bd;
/* rgb */ color: rgb(145, 120, 189);
/* oklch */ color: oklch(62.3% 0.105 300.0);
Tailwind
colors: {
  custom: {
    50: '#b29fd1',
    500: '#9178bd',
    950: '#000000',
  },
}
SCSS
$custom: #9178bd;
$custom-light: #b29fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9178bd",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 261.739,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62335,
    "c": 0.10487,
    "h": 300
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#9178BD
secondary
#CCD6BB
accent
#AD3883
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9178BD

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

Preview Lab → · Contrast checker → · Palette generator →

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