#9178EE#9178EE

#9178EE is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.0% C 0.171 H 290.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9178EE
RGBrgb(145, 120, 238)
HSLhsl(253, 78%, 70%)
HSVhsv(253, 50%, 93%)
CMYKcmyk(39.1%, 49.6%, 0%, 6.7%)
CIE-LABlab(57.68, 36.73, -56.42)
CIE-LCHlch(57.68, 67.33, 303.06°)
OKLaboklab(65.01% 0.0601 -0.1598)
OKLCHoklch(65.01% 0.171 290.6)
XYZxyz(33.8219, 25.6248, 84.0364)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178EE #D5EE78
analogous
#789AEE #9178EE #CC78EE
triadic
#9178EE #EE9178 #78EE91
tetradic
#9178EE #EE789A #D5EE78 #78EECC
square
#9178EE #EE789A #D5EE78 #78EECC
split-complementary
#9178EE #EECC78 #9AEE78
monochromatic
#411AD1 #6542E7 #9178EE #BDAEF5 #E9E4FC

Accessibility & contrast

On white

3.43
#9178EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9178EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178EE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178EE#FFFFFF#000000##000000
##9178EE1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF2
Deuteranopia (green-blind)
#4B88EB
Tritanopia (blue-blind)
#7890A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9178ee;
/* rgb */ color: rgb(145, 120, 238);
/* oklch */ color: oklch(65.0% 0.171 290.6);
Tailwind
colors: {
  custom: {
    50: '#b69ff4',
    500: '#9178ee',
    950: '#000000',
  },
}
SCSS
$custom: #9178ee;
$custom-light: #b69ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ee",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 252.712,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.17073,
    "h": 290.6
  },
  "luminance": 0.25626
}

Semantic roles & 50–950 ramp

primary
#9178EE
secondary
#EAF1D1
accent
#DA0CAE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9178EE

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

Preview Lab → · Contrast checker → · Palette generator →

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