#9178CA#9178CA

#9178CA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.0% C 0.123 H 296.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9178CA
RGBrgb(145, 120, 202)
HSLhsl(258, 44%, 63%)
HSVhsv(258, 41%, 79%)
CMYKcmyk(28.2%, 40.6%, 0%, 20.8%)
CIE-LABlab(55.80, 27.31, -39.17)
CIE-LCHlch(55.80, 47.75, 304.88°)
OKLaboklab(62.99% 0.0552 -0.1095)
OKLCHoklch(62.99% 0.123 296.8)
XYZxyz(29.0517, 23.7166, 58.9129)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178CA #B1CA78
analogous
#7888CA #9178CA #BA78CA
triadic
#9178CA #CA9178 #78CA91
tetradic
#9178CA #CA7888 #B1CA78 #78CABA
square
#9178CA #CA7888 #B1CA78 #78CABA
split-complementary
#9178CA #CABA78 #88CA78
monochromatic
#53388F #6D4CB9 #9178CA #B5A4DB #D9D0ED

Accessibility & contrast

On white

3.66
#9178CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9178CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178CA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178CA#FFFFFF#000000##000000
##9178CA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CD
Deuteranopia (green-blind)
#6585C8
Tritanopia (blue-blind)
#858697
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9178ca;
/* rgb */ color: rgb(145, 120, 202);
/* oklch */ color: oklch(63.0% 0.123 296.8);
Tailwind
colors: {
  custom: {
    50: '#b39fda',
    500: '#9178ca',
    950: '#000000',
  },
}
SCSS
$custom: #9178ca;
$custom-light: #b39fda;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ca",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 258.293,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62987,
    "c": 0.12261,
    "h": 296.8
  },
  "luminance": 0.23717
}

Semantic roles & 50–950 ramp

primary
#9178CA
secondary
#D5DEC0
accent
#B72F8D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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