#9178CC#9178CC

#9178CC is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.1% C 0.125 H 296.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9178CC
RGBrgb(145, 120, 204)
HSLhsl(258, 45%, 64%)
HSVhsv(258, 41%, 80%)
CMYKcmyk(28.9%, 41.2%, 0%, 20%)
CIE-LABlab(55.90, 27.82, -40.16)
CIE-LCHlch(55.90, 48.85, 304.71°)
OKLaboklab(63.09% 0.0556 -0.1123)
OKLCHoklch(63.09% 0.125 296.3)
XYZxyz(29.2900, 23.8120, 60.1681)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178CC #B3CC78
analogous
#7889CC #9178CC #BB78CC
triadic
#9178CC #CC9178 #78CC91
tetradic
#9178CC #CC7889 #B3CC78 #78CCBB
square
#9178CC #CC7889 #B3CC78 #78CCBB
split-complementary
#9178CC #CCBB78 #89CC78
monochromatic
#523792 #6D4CBB #9178CC #B5A4DD #D9D1EE

Accessibility & contrast

On white

3.64
#9178CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9178CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178CC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178CC#FFFFFF#000000##000000
##9178CC1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CF
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#858798
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9178cc;
/* rgb */ color: rgb(145, 120, 204);
/* oklch */ color: oklch(63.1% 0.125 296.3);
Tailwind
colors: {
  custom: {
    50: '#b39fdc',
    500: '#9178cc',
    950: '#000000',
  },
}
SCSS
$custom: #9178cc;
$custom-light: #b39fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9178cc",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 257.857,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.12533,
    "h": 296.3
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

primary
#9178CC
secondary
#D6DFC1
accent
#B82D8F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9178CC

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

Preview Lab → · Contrast checker → · Palette generator →

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