#9178BB#9178BB

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

Color values

HEX#9178BB
RGBrgb(145, 120, 187)
HSLhsl(262, 33%, 60%)
HSVhsv(262, 36%, 73%)
CMYKcmyk(22.5%, 35.8%, 0%, 26.7%)
CIE-LABlab(55.11, 23.62, -31.70)
CIE-LCHlch(55.11, 39.53, 306.69°)
OKLaboklab(62.24% 0.0521 -0.0879)
OKLCHoklch(62.24% 0.102 300.6)
XYZxyz(27.3612, 23.0405, 50.0099)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178BB #A2BB78
analogous
#7880BB #9178BB #B278BB
triadic
#9178BB #BB9178 #78BB91
tetradic
#9178BB #BB7880 #A2BB78 #78BBB2
square
#9178BB #BB7880 #A2BB78 #78BBB2
split-complementary
#9178BB #BBB278 #80BB78
monochromatic
#553E7B #7152A3 #9178BB #B2A1D0 #D3C9E4

Accessibility & contrast

On white

3.74
#9178BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9178BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9178BB#FFFFFF#000000##000000
##9178BB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BE
Deuteranopia (green-blind)
#6D84B9
Tritanopia (blue-blind)
#8A8391
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9178bb;
/* rgb */ color: rgb(145, 120, 187);
/* oklch */ color: oklch(62.2% 0.102 300.6);
Tailwind
colors: {
  custom: {
    50: '#b29fcf',
    500: '#9178bb',
    950: '#000000',
  },
}
SCSS
$custom: #9178bb;
$custom-light: #b29fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9178bb",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 262.388,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62238,
    "c": 0.10214,
    "h": 300.6
  },
  "luminance": 0.23041
}

Semantic roles & 50–950 ramp

primary
#9178BB
secondary
#CBD4BB
accent
#AC3A81
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9178BB

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

Preview Lab → · Contrast checker → · Palette generator →

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