#9178DA#9178DA

#9178DA is a light, vivid violet. Relative luminance 0.245; OKLCH L 63.8% C 0.144 H 293.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9178DA
RGBrgb(145, 120, 218)
HSLhsl(255, 57%, 66%)
HSVhsv(255, 45%, 85%)
CMYKcmyk(33.5%, 45%, 0%, 14.5%)
CIE-LABlab(56.60, 31.41, -46.96)
CIE-LCHlch(56.60, 56.50, 303.78°)
OKLaboklab(63.85% 0.0579 -0.1321)
OKLCHoklch(63.85% 0.144 293.7)
XYZxyz(31.0452, 24.5141, 69.4121)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178DA #C1DA78
analogous
#7890DA #9178DA #C278DA
triadic
#9178DA #DA9178 #78DA91
tetradic
#9178DA #DA7890 #C1DA78 #78DAC2
square
#9178DA #DA7890 #C1DA78 #78DAC2
split-complementary
#9178DA #DAC278 #90DA78
monochromatic
#4E2EA9 #6A48CD #9178DA #B8A8E7 #DFD8F4

Accessibility & contrast

On white

3.56
#9178DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9178DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178DA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178DA#FFFFFF#000000##000000
##9178DA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DE
Deuteranopia (green-blind)
#5C86D8
Tritanopia (blue-blind)
#808A9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9178da;
/* rgb */ color: rgb(145, 120, 218);
/* oklch */ color: oklch(63.8% 0.144 293.7);
Tailwind
colors: {
  custom: {
    50: '#b49fe6',
    500: '#9178da',
    950: '#000000',
  },
}
SCSS
$custom: #9178da;
$custom-light: #b49fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9178da",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 255.306,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.14423,
    "h": 293.7
  },
  "luminance": 0.24515
}

Semantic roles & 50–950 ramp

primary
#9178DA
secondary
#DFE7C7
accent
#C5219B
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9178DA

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

Preview Lab → · Contrast checker → · Palette generator →

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