#9178BF#9178BF

#9178BF is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.4% C 0.108 H 299.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9178BF
RGBrgb(145, 120, 191)
HSLhsl(261, 36%, 61%)
HSVhsv(261, 37%, 75%)
CMYKcmyk(24.1%, 37.2%, 0%, 25.1%)
CIE-LABlab(55.29, 24.59, -33.71)
CIE-LCHlch(55.29, 41.72, 306.11°)
OKLaboklab(62.43% 0.053 -0.0937)
OKLCHoklch(62.43% 0.108 299.5)
XYZxyz(27.7954, 23.2141, 52.2965)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178BF #A6BF78
analogous
#7882BF #9178BF #B478BF
triadic
#9178BF #BF9178 #78BF91
tetradic
#9178BF #BF7882 #A6BF78 #78BFB4
square
#9178BF #BF7882 #A6BF78 #78BFB4
split-complementary
#9178BF #BFB478 #82BF78
monochromatic
#543D80 #7050A9 #9178BF #B3A2D3 #D5CBE6

Accessibility & contrast

On white

3.72
#9178BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#9178BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178BF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178BF#FFFFFF#000000##000000
##9178BF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#6B84BD
Tritanopia (blue-blind)
#888492
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9178bf;
/* rgb */ color: rgb(145, 120, 191);
/* oklch */ color: oklch(62.4% 0.108 299.5);
Tailwind
colors: {
  custom: {
    50: '#b29fd2',
    500: '#9178bf',
    950: '#000000',
  },
}
SCSS
$custom: #9178bf;
$custom-light: #b29fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9178bf",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 261.127,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62432,
    "c": 0.1076,
    "h": 299.5
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#9178BF
secondary
#CDD7BC
accent
#AF3784
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9178BF

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

Preview Lab → · Contrast checker → · Palette generator →

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