#9178EF#9178EF

#9178EF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.1% C 0.172 H 290.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9178EF
RGBrgb(145, 120, 239)
HSLhsl(253, 79%, 70%)
HSVhsv(253, 50%, 94%)
CMYKcmyk(39.3%, 49.8%, 0%, 6.3%)
CIE-LABlab(57.74, 37.00, -56.89)
CIE-LCHlch(57.74, 67.86, 303.04°)
OKLaboklab(65.07% 0.0602 -0.1612)
OKLCHoklch(65.07% 0.172 290.5)
XYZxyz(33.9693, 25.6837, 84.8123)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178EF #D6EF78
analogous
#789AEF #9178EF #CC78EF
triadic
#9178EF #EF9178 #78EF91
tetradic
#9178EF #EF789A #D6EF78 #78EFCC
square
#9178EF #EF789A #D6EF78 #78EFCC
split-complementary
#9178EF #EFCC78 #9AEF78
monochromatic
#4019D4 #6441E9 #9178EF #BEAFF5 #E9E4FC

Accessibility & contrast

On white

3.42
#9178EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9178EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178EF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178EF#FFFFFF#000000##000000
##9178EF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#7890A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9178ef;
/* rgb */ color: rgb(145, 120, 239);
/* oklch */ color: oklch(65.1% 0.172 290.5);
Tailwind
colors: {
  custom: {
    50: '#b69ff5',
    500: '#9178ef',
    950: '#000000',
  },
}
SCSS
$custom: #9178ef;
$custom-light: #b69ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ef",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 252.605,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.17205,
    "h": 290.5
  },
  "luminance": 0.25685
}

Semantic roles & 50–950 ramp

primary
#9178EF
secondary
#EBF2D1
accent
#DB0AAF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9178EF

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

Preview Lab → · Contrast checker → · Palette generator →

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