#9178CB#9178CB

#9178CB is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.0% C 0.124 H 296.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9178CB
RGBrgb(145, 120, 203)
HSLhsl(258, 44%, 63%)
HSVhsv(258, 41%, 80%)
CMYKcmyk(28.6%, 40.9%, 0%, 20.4%)
CIE-LABlab(55.85, 27.56, -39.67)
CIE-LCHlch(55.85, 48.30, 304.79°)
OKLaboklab(63.04% 0.0554 -0.1109)
OKLCHoklch(63.04% 0.124 296.6)
XYZxyz(29.1704, 23.7642, 59.5384)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178CB #B2CB78
analogous
#7888CB #9178CB #BA78CB
triadic
#9178CB #CB9178 #78CB91
tetradic
#9178CB #CB7888 #B2CB78 #78CBBA
square
#9178CB #CB7888 #B2CB78 #78CBBA
split-complementary
#9178CB #CBBA78 #88CB78
monochromatic
#533891 #6D4CBA #9178CB #B5A4DC #D9D0ED

Accessibility & contrast

On white

3.65
#9178CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9178CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178CB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178CB#FFFFFF#000000##000000
##9178CB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CE
Deuteranopia (green-blind)
#6585C9
Tritanopia (blue-blind)
#858798
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9178cb;
/* rgb */ color: rgb(145, 120, 203);
/* oklch */ color: oklch(63.0% 0.124 296.6);
Tailwind
colors: {
  custom: {
    50: '#b39fdb',
    500: '#9178cb',
    950: '#000000',
  },
}
SCSS
$custom: #9178cb;
$custom-light: #b39fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9178cb",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 258.072,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63039,
    "c": 0.12397,
    "h": 296.6
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#9178CB
secondary
#D5DEC1
accent
#B82E8E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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