#9178F7#9178F7

#9178F7 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.6% C 0.182 H 289.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9178F7
RGBrgb(145, 120, 247)
HSLhsl(252, 89%, 72%)
HSVhsv(252, 51%, 97%)
CMYKcmyk(41.3%, 51.4%, 0%, 3.1%)
CIE-LABlab(58.20, 39.18, -60.59)
CIE-LCHlch(58.20, 72.15, 302.89°)
OKLaboklab(65.56% 0.0607 -0.172)
OKLCHoklch(65.56% 0.182 289.4)
XYZxyz(35.1774, 26.1669, 91.1749)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178F7 #DEF778
analogous
#789FF7 #9178F7 #D178F7
triadic
#9178F7 #F79178 #78F791
tetradic
#9178F7 #F7789F #DEF778 #78F7D1
square
#9178F7 #F7789F #DEF778 #78F7D1
split-complementary
#9178F7 #F7D178 #9FF778
monochromatic
#380EE7 #623EF4 #9178F7 #C0B2FA #E7E2FD

Accessibility & contrast

On white

3.37
#9178F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9178F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178F7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178F7#FFFFFF#000000##000000
##9178F71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFB
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#7493AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9178f7;
/* rgb */ color: rgb(145, 120, 247);
/* oklch */ color: oklch(65.6% 0.182 289.4);
Tailwind
colors: {
  custom: {
    50: '#b69ffa',
    500: '#9178f7',
    950: '#000000',
  },
}
SCSS
$custom: #9178f7;
$custom-light: #b69ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#9178f7",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 251.811,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65561,
    "c": 0.18244,
    "h": 289.4
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#9178F7
secondary
#EFF5D5
accent
#E500B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9178F7

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

Preview Lab → · Contrast checker → · Palette generator →

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