#9178E8#9178E8

#9178E8 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.7% C 0.163 H 291.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9178E8
RGBrgb(145, 120, 232)
HSLhsl(253, 71%, 69%)
HSVhsv(253, 48%, 91%)
CMYKcmyk(37.5%, 48.3%, 0%, 9%)
CIE-LABlab(57.35, 35.12, -53.61)
CIE-LCHlch(57.35, 64.09, 303.23°)
OKLaboklab(64.65% 0.0595 -0.1516)
OKLCHoklch(64.65% 0.163 291.4)
XYZxyz(32.9551, 25.2780, 79.4711)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178E8 #CFE878
analogous
#7897E8 #9178E8 #C978E8
triadic
#9178E8 #E89178 #78E891
tetradic
#9178E8 #E87897 #CFE878 #78E8C9
square
#9178E8 #E87897 #CFE878 #78E8C9
split-complementary
#9178E8 #E8C978 #97E878
monochromatic
#4621C4 #6644DF #9178E8 #BCACF1 #E6E1FA

Accessibility & contrast

On white

3.47
#9178E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9178E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178E8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178E8#FFFFFF#000000##000000
##9178E81.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEC
Deuteranopia (green-blind)
#5187E5
Tritanopia (blue-blind)
#7B8EA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9178e8;
/* rgb */ color: rgb(145, 120, 232);
/* oklch */ color: oklch(64.7% 0.163 291.4);
Tailwind
colors: {
  custom: {
    50: '#b59ff0',
    500: '#9178e8',
    950: '#000000',
  },
}
SCSS
$custom: #9178e8;
$custom-light: #b59ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9178e8",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 253.393,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64652,
    "c": 0.16285,
    "h": 291.4
  },
  "luminance": 0.25279
}

Semantic roles & 50–950 ramp

primary
#9178E8
secondary
#E7EECD
accent
#D313A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9178E8

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

Preview Lab → · Contrast checker → · Palette generator →

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