#9178FD#9178FD

#9178FD is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.190 H 288.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9178FD
RGBrgb(145, 120, 253)
HSLhsl(251, 97%, 73%)
HSVhsv(251, 53%, 99%)
CMYKcmyk(42.7%, 52.6%, 0%, 0.8%)
CIE-LABlab(58.55, 40.83, -63.33)
CIE-LCHlch(58.55, 75.35, 302.81°)
OKLaboklab(65.94% 0.0611 -0.1801)
OKLCHoklch(65.94% 0.19 288.7)
XYZxyz(36.1182, 26.5432, 96.1298)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178FD #E4FD78
analogous
#78A1FD #9178FD #D378FD
triadic
#9178FD #FD9178 #78FD91
tetradic
#9178FD #FD78A1 #E4FD78 #78FDD3
square
#9178FD #FD78A1 #E4FD78 #78FDD3
split-complementary
#9178FD #FDD378 #A1FD78
monochromatic
#3104F7 #603CFC #9178FD #C2B4FE #E6E1FF

Accessibility & contrast

On white

3.33
#9178FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9178FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178FD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178FD#FFFFFF#000000##000000
##9178FD1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#3A8AFA
Tritanopia (blue-blind)
#7194AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9178fd;
/* rgb */ color: rgb(145, 120, 253);
/* oklch */ color: oklch(65.9% 0.190 288.7);
Tailwind
colors: {
  custom: {
    50: '#b79fff',
    500: '#9178fd',
    950: '#000000',
  },
}
SCSS
$custom: #9178fd;
$custom-light: #b79fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9178fd",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 251.278,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65939,
    "c": 0.19016,
    "h": 288.7
  },
  "luminance": 0.26545
}

Semantic roles & 50–950 ramp

primary
#9178FD
secondary
#F0F7D4
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9178FD

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

Preview Lab → · Contrast checker → · Palette generator →

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