#9178CD#9178CD

#9178CD is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.1% C 0.127 H 296.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9178CD
RGBrgb(145, 120, 205)
HSLhsl(258, 46%, 64%)
HSVhsv(258, 41%, 80%)
CMYKcmyk(29.3%, 41.5%, 0%, 19.6%)
CIE-LABlab(55.95, 28.07, -40.65)
CIE-LCHlch(55.95, 49.40, 304.63°)
OKLaboklab(63.14% 0.0558 -0.1137)
OKLCHoklch(63.14% 0.127 296.1)
XYZxyz(29.4103, 23.8601, 60.8018)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178CD #B4CD78
analogous
#7889CD #9178CD #BB78CD
triadic
#9178CD #CD9178 #78CD91
tetradic
#9178CD #CD7889 #B4CD78 #78CDBB
square
#9178CD #CD7889 #B4CD78 #78CDBB
split-complementary
#9178CD #CDBB78 #89CD78
monochromatic
#523794 #6D4BBC #9178CD #B5A5DE #DAD1EE

Accessibility & contrast

On white

3.64
#9178CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9178CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178CD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178CD#FFFFFF#000000##000000
##9178CD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#6485CB
Tritanopia (blue-blind)
#848799
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9178cd;
/* rgb */ color: rgb(145, 120, 205);
/* oklch */ color: oklch(63.1% 0.127 296.1);
Tailwind
colors: {
  custom: {
    50: '#b39fdc',
    500: '#9178cd',
    950: '#000000',
  },
}
SCSS
$custom: #9178cd;
$custom-light: #b39fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9178cd",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 257.647,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63144,
    "c": 0.12668,
    "h": 296.1
  },
  "luminance": 0.2386
}

Semantic roles & 50–950 ramp

primary
#9178CD
secondary
#D7DFC1
accent
#B92C90
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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