#9178DB#9178DB

#9178DB is a light, vivid violet. Relative luminance 0.246; OKLCH L 63.9% C 0.146 H 293.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9178DB
RGBrgb(145, 120, 219)
HSLhsl(255, 58%, 66%)
HSVhsv(255, 45%, 86%)
CMYKcmyk(33.8%, 45.2%, 0%, 14.1%)
CIE-LABlab(56.65, 31.68, -47.44)
CIE-LCHlch(56.65, 57.04, 303.73°)
OKLaboklab(63.9% 0.058 -0.1335)
OKLCHoklch(63.9% 0.146 293.5)
XYZxyz(31.1764, 24.5666, 70.1034)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178DB #C2DB78
analogous
#7891DB #9178DB #C378DB
triadic
#9178DB #DB9178 #78DB91
tetradic
#9178DB #DB7891 #C2DB78 #78DBC3
square
#9178DB #DB7891 #C2DB78 #78DBC3
split-complementary
#9178DB #DBC378 #91DB78
monochromatic
#4D2EAB #6A48CE #9178DB #B8A8E8 #E0D9F5

Accessibility & contrast

On white

3.55
#9178DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9178DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178DB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178DB#FFFFFF#000000##000000
##9178DB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#5B86D9
Tritanopia (blue-blind)
#808B9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9178db;
/* rgb */ color: rgb(145, 120, 219);
/* oklch */ color: oklch(63.9% 0.146 293.5);
Tailwind
colors: {
  custom: {
    50: '#b49fe6',
    500: '#9178db',
    950: '#000000',
  },
}
SCSS
$custom: #9178db;
$custom-light: #b49fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9178db",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 255.152,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.14557,
    "h": 293.5
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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