#9178CE#9178CE

#9178CE is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.2% C 0.128 H 295.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9178CE
RGBrgb(145, 120, 206)
HSLhsl(257, 47%, 64%)
HSVhsv(257, 42%, 81%)
CMYKcmyk(29.6%, 41.7%, 0%, 19.2%)
CIE-LABlab(56.00, 28.32, -41.14)
CIE-LCHlch(56.00, 49.95, 304.55°)
OKLaboklab(63.2% 0.056 -0.1152)
OKLCHoklch(63.2% 0.128 295.9)
XYZxyz(29.5314, 23.9085, 61.4395)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178CE #B5CE78
analogous
#788ACE #9178CE #BC78CE
triadic
#9178CE #CE9178 #78CE91
tetradic
#9178CE #CE788A #B5CE78 #78CEBC
square
#9178CE #CE788A #B5CE78 #78CEBC
split-complementary
#9178CE #CEBC78 #8ACE78
monochromatic
#523695 #6C4BBE #9178CE #B6A5DE #DAD2EF

Accessibility & contrast

On white

3.63
#9178CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9178CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178CE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178CE#FFFFFF#000000##000000
##9178CE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D1
Deuteranopia (green-blind)
#6385CC
Tritanopia (blue-blind)
#848799
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9178ce;
/* rgb */ color: rgb(145, 120, 206);
/* oklch */ color: oklch(63.2% 0.128 295.9);
Tailwind
colors: {
  custom: {
    50: '#b39fdd',
    500: '#9178ce',
    950: '#000000',
  },
}
SCSS
$custom: #9178ce;
$custom-light: #b39fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ce",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 257.442,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.12805,
    "h": 295.9
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#9178CE
secondary
#D7E0C2
accent
#BA2C91
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9178CE

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

Preview Lab → · Contrast checker → · Palette generator →

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