#9178BC#9178BC

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

Color values

HEX#9178BC
RGBrgb(145, 120, 188)
HSLhsl(262, 34%, 60%)
HSVhsv(262, 36%, 74%)
CMYKcmyk(22.9%, 36.2%, 0%, 26.3%)
CIE-LABlab(55.16, 23.86, -32.20)
CIE-LCHlch(55.16, 40.08, 306.53°)
OKLaboklab(62.29% 0.0523 -0.0893)
OKLCHoklch(62.29% 0.104 300.3)
XYZxyz(27.4686, 23.0834, 50.5756)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178BC #A3BC78
analogous
#7881BC #9178BC #B378BC
triadic
#9178BC #BC9178 #78BC91
tetradic
#9178BC #BC7881 #A3BC78 #78BCB3
square
#9178BC #BC7881 #A3BC78 #78BCB3
split-complementary
#9178BC #BCB378 #81BC78
monochromatic
#553E7C #7052A5 #9178BC #B2A1D0 #D4CAE5

Accessibility & contrast

On white

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

On black

5.62
#9178BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178BC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178BC#FFFFFF#000000##000000
##9178BC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#6C84BA
Tritanopia (blue-blind)
#898391
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9178bc;
/* rgb */ color: rgb(145, 120, 188);
/* oklch */ color: oklch(62.3% 0.103 300.3);
Tailwind
colors: {
  custom: {
    50: '#b29fd0',
    500: '#9178bc',
    950: '#000000',
  },
}
SCSS
$custom: #9178bc;
$custom-light: #b29fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9178bc",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 262.059,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.1035,
    "h": 300.3
  },
  "luminance": 0.23084
}

Semantic roles & 50–950 ramp

primary
#9178BC
secondary
#CBD5BB
accent
#AC3982
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9178BC

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

Preview Lab → · Contrast checker → · Palette generator →

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