#9178E7#9178E7

#9178E7 is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.6% C 0.162 H 291.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9178E7
RGBrgb(145, 120, 231)
HSLhsl(254, 70%, 69%)
HSVhsv(254, 48%, 91%)
CMYKcmyk(37.2%, 48.1%, 0%, 9.4%)
CIE-LABlab(57.29, 34.85, -53.14)
CIE-LCHlch(57.29, 63.55, 303.26°)
OKLaboklab(64.59% 0.0594 -0.1502)
OKLCHoklch(64.59% 0.162 291.6)
XYZxyz(32.8135, 25.2214, 78.7252)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178E7 #CEE778
analogous
#7897E7 #9178E7 #C978E7
triadic
#9178E7 #E79178 #78E791
tetradic
#9178E7 #E77897 #CEE778 #78E7C9
square
#9178E7 #E77897 #CEE778 #78E7C9
split-complementary
#9178E7 #E7C978 #97E778
monochromatic
#4623C2 #6744DE #9178E7 #BBACF0 #E6E0F9

Accessibility & contrast

On white

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

On black

6.04
#9178E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178E7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178E7#FFFFFF#000000##000000
##9178E71.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEB
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#7B8EA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9178e7;
/* rgb */ color: rgb(145, 120, 231);
/* oklch */ color: oklch(64.6% 0.162 291.6);
Tailwind
colors: {
  custom: {
    50: '#b59fef',
    500: '#9178e7',
    950: '#000000',
  },
}
SCSS
$custom: #9178e7;
$custom-light: #b59fef;
$custom-dark: #000000;
JSON
{
  "hex": "#9178e7",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 253.514,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.16153,
    "h": 291.6
  },
  "luminance": 0.25222
}

Semantic roles & 50–950 ramp

primary
#9178E7
secondary
#E6EECD
accent
#D214A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9178E7

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

Preview Lab → · Contrast checker → · Palette generator →

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