#9178ED#9178ED

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

Color values

HEX#9178ED
RGBrgb(145, 120, 237)
HSLhsl(253, 76%, 70%)
HSVhsv(253, 49%, 93%)
CMYKcmyk(38.8%, 49.4%, 0%, 7.1%)
CIE-LABlab(57.62, 36.46, -55.96)
CIE-LCHlch(57.62, 66.79, 303.09°)
OKLaboklab(64.95% 0.06 -0.1584)
OKLCHoklch(64.95% 0.169 290.7)
XYZxyz(33.6754, 25.5662, 83.2648)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178ED #D4ED78
analogous
#7899ED #9178ED #CC78ED
triadic
#9178ED #ED9178 #78ED91
tetradic
#9178ED #ED7899 #D4ED78 #78EDCC
square
#9178ED #ED7899 #D4ED78 #78EDCC
split-complementary
#9178ED #EDCC78 #99ED78
monochromatic
#421CCF #6542E6 #9178ED #BDAEF4 #E9E4FB

Accessibility & contrast

On white

3.44
#9178ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#9178ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178ED
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178ED#FFFFFF#000000##000000
##9178ED1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF1
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#7990A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9178ed;
/* rgb */ color: rgb(145, 120, 237);
/* oklch */ color: oklch(65.0% 0.169 290.7);
Tailwind
colors: {
  custom: {
    50: '#b59ff3',
    500: '#9178ed',
    950: '#000000',
  },
}
SCSS
$custom: #9178ed;
$custom-light: #b59ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ed",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 252.821,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.6495,
    "c": 0.16942,
    "h": 290.7
  },
  "luminance": 0.25567
}

Semantic roles & 50–950 ramp

primary
#9178ED
secondary
#EAF1D0
accent
#D90DAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9178ED

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

Preview Lab → · Contrast checker → · Palette generator →

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