#9178F8#9178F8

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

Color values

HEX#9178F8
RGBrgb(145, 120, 248)
HSLhsl(252, 90%, 72%)
HSVhsv(252, 52%, 97%)
CMYKcmyk(41.5%, 51.6%, 0%, 2.7%)
CIE-LABlab(58.25, 39.45, -61.05)
CIE-LCHlch(58.25, 72.69, 302.87°)
OKLaboklab(65.62% 0.0608 -0.1734)
OKLCHoklch(65.62% 0.184 289.3)
XYZxyz(35.3321, 26.2288, 91.9898)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178F8 #DFF878
analogous
#789FF8 #9178F8 #D178F8
triadic
#9178F8 #F89178 #78F891
tetradic
#9178F8 #F8789F #DFF878 #78F8D1
square
#9178F8 #F8789F #DFF878 #78F8D1
split-complementary
#9178F8 #F8D178 #9FF878
monochromatic
#370CE9 #623EF5 #9178F8 #C0B2FB #E7E2FD

Accessibility & contrast

On white

3.36
#9178F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9178F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178F8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178F8#FFFFFF#000000##000000
##9178F81.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFC
Deuteranopia (green-blind)
#4089F5
Tritanopia (blue-blind)
#7493AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9178f8;
/* rgb */ color: rgb(145, 120, 248);
/* oklch */ color: oklch(65.6% 0.184 289.3);
Tailwind
colors: {
  custom: {
    50: '#b69ffb',
    500: '#9178f8',
    950: '#000000',
  },
}
SCSS
$custom: #9178f8;
$custom-light: #b69ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#9178f8",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 251.719,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.18373,
    "h": 289.3
  },
  "luminance": 0.2623
}

Semantic roles & 50–950 ramp

primary
#9178F8
secondary
#EFF6D5
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9178F8

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

Preview Lab → · Contrast checker → · Palette generator →

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