#9178C7#9178C7

#9178C7 is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.8% C 0.119 H 297.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9178C7
RGBrgb(145, 120, 199)
HSLhsl(259, 41%, 63%)
HSVhsv(259, 40%, 78%)
CMYKcmyk(27.1%, 39.7%, 0%, 22%)
CIE-LABlab(55.66, 26.56, -37.69)
CIE-LCHlch(55.66, 46.11, 305.17°)
OKLaboklab(62.83% 0.0547 -0.1052)
OKLCHoklch(62.83% 0.119 297.5)
XYZxyz(28.6999, 23.5759, 57.0603)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178C7 #AEC778
analogous
#7887C7 #9178C7 #B878C7
triadic
#9178C7 #C79178 #78C791
tetradic
#9178C7 #C77887 #AEC778 #78C7B8
square
#9178C7 #C77887 #AEC778 #78C7B8
split-complementary
#9178C7 #C7B878 #87C778
monochromatic
#533A8B #6E4DB5 #9178C7 #B4A3D9 #D7CFEB

Accessibility & contrast

On white

3.67
#9178C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9178C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178C7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178C7#FFFFFF#000000##000000
##9178C71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CA
Deuteranopia (green-blind)
#6785C5
Tritanopia (blue-blind)
#868696
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9178c7;
/* rgb */ color: rgb(145, 120, 199);
/* oklch */ color: oklch(62.8% 0.119 297.5);
Tailwind
colors: {
  custom: {
    50: '#b39fd8',
    500: '#9178c7',
    950: '#000000',
  },
}
SCSS
$custom: #9178c7;
$custom-light: #b39fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9178c7",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 258.987,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.11852,
    "h": 297.5
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#9178C7
secondary
#D3DCBF
accent
#B4318B
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9178C7

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

Preview Lab → · Contrast checker → · Palette generator →

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