#9178BE#9178BE

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

Color values

HEX#9178BE
RGBrgb(145, 120, 190)
HSLhsl(261, 35%, 61%)
HSVhsv(261, 37%, 75%)
CMYKcmyk(23.7%, 36.8%, 0%, 25.5%)
CIE-LABlab(55.25, 24.34, -33.21)
CIE-LCHlch(55.25, 41.17, 306.24°)
OKLaboklab(62.38% 0.0527 -0.0922)
OKLCHoklch(62.38% 0.106 299.8)
XYZxyz(27.6857, 23.1703, 51.7189)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178BE #A5BE78
analogous
#7882BE #9178BE #B478BE
triadic
#9178BE #BE9178 #78BE91
tetradic
#9178BE #BE7882 #A5BE78 #78BEB4
square
#9178BE #BE7882 #A5BE78 #78BEB4
split-complementary
#9178BE #BEB478 #82BE78
monochromatic
#543D7F #7051A8 #9178BE #B3A1D2 #D4CBE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9178BE#FFFFFF#000000##000000
##9178BE1.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)
#6784C1
Deuteranopia (green-blind)
#6B84BC
Tritanopia (blue-blind)
#898392
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9178be;
/* rgb */ color: rgb(145, 120, 190);
/* oklch */ color: oklch(62.4% 0.106 299.8);
Tailwind
colors: {
  custom: {
    50: '#b29fd2',
    500: '#9178be',
    950: '#000000',
  },
}
SCSS
$custom: #9178be;
$custom-light: #b29fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9178be",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 261.429,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62383,
    "c": 0.10624,
    "h": 299.8
  },
  "luminance": 0.2317
}

Semantic roles & 50–950 ramp

primary
#9178BE
secondary
#CDD6BC
accent
#AE3884
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9178BE

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

Preview Lab → · Contrast checker → · Palette generator →

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