#9178EA#9178EA

#9178EA is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.8% C 0.165 H 291.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9178EA
RGBrgb(145, 120, 234)
HSLhsl(253, 73%, 69%)
HSVhsv(253, 49%, 92%)
CMYKcmyk(38%, 48.7%, 0%, 8.2%)
CIE-LABlab(57.46, 35.66, -54.55)
CIE-LCHlch(57.46, 65.17, 303.17°)
OKLaboklab(64.77% 0.0597 -0.1543)
OKLCHoklch(64.77% 0.165 291.2)
XYZxyz(33.2408, 25.3923, 80.9758)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178EA #D1EA78
analogous
#7898EA #9178EA #CA78EA
triadic
#9178EA #EA9178 #78EA91
tetradic
#9178EA #EA7898 #D1EA78 #78EACA
square
#9178EA #EA7898 #D1EA78 #78EACA
split-complementary
#9178EA #EACA78 #98EA78
monochromatic
#441FC8 #6643E2 #9178EA #BCADF2 #E7E2FA

Accessibility & contrast

On white

3.45
#9178EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9178EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178EA#FFFFFF#000000##000000
##9178EA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#4F88E7
Tritanopia (blue-blind)
#7A8FA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9178ea;
/* rgb */ color: rgb(145, 120, 234);
/* oklch */ color: oklch(64.8% 0.165 291.2);
Tailwind
colors: {
  custom: {
    50: '#b59ff1',
    500: '#9178ea',
    950: '#000000',
  },
}
SCSS
$custom: #9178ea;
$custom-light: #b59ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ea",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 253.158,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6477,
    "c": 0.16549,
    "h": 291.2
  },
  "luminance": 0.25393
}

Semantic roles & 50–950 ramp

primary
#9178EA
secondary
#E8EFCE
accent
#D510AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #9178EA

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

Preview Lab → · Contrast checker → · Palette generator →

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