#9178F3#9178F3

#9178F3 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.3% C 0.177 H 289.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9178F3
RGBrgb(145, 120, 243)
HSLhsl(252, 84%, 71%)
HSVhsv(252, 51%, 95%)
CMYKcmyk(40.3%, 50.6%, 0%, 4.7%)
CIE-LABlab(57.96, 38.09, -58.74)
CIE-LCHlch(57.96, 70.01, 302.96°)
OKLaboklab(65.31% 0.0605 -0.1666)
OKLCHoklch(65.31% 0.177 289.9)
XYZxyz(34.5667, 25.9227, 87.9590)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178F3 #DAF378
analogous
#789CF3 #9178F3 #CE78F3
triadic
#9178F3 #F39178 #78F391
tetradic
#9178F3 #F3789C #DAF378 #78F3CE
square
#9178F3 #F3789C #DAF378 #78F3CE
split-complementary
#9178F3 #F3CE78 #9CF378
monochromatic
#3D14DD #6340EE #9178F3 #BFB0F8 #E8E3FD

Accessibility & contrast

On white

3.40
#9178F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9178F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178F3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178F3#FFFFFF#000000##000000
##9178F31.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448EF7
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#7691AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9178f3;
/* rgb */ color: rgb(145, 120, 243);
/* oklch */ color: oklch(65.3% 0.177 289.9);
Tailwind
colors: {
  custom: {
    50: '#b69ff8',
    500: '#9178f3',
    950: '#000000',
  },
}
SCSS
$custom: #9178f3;
$custom-light: #b69ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#9178f3",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 252.195,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65314,
    "c": 0.17726,
    "h": 289.9
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

primary
#9178F3
secondary
#EDF4D3
accent
#E005B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9178F3

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

Preview Lab → · Contrast checker → · Palette generator →

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