#9178DE#9178DE

#9178DE is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.1% C 0.150 H 293.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9178DE
RGBrgb(145, 120, 222)
HSLhsl(255, 61%, 67%)
HSVhsv(255, 46%, 87%)
CMYKcmyk(34.7%, 45.9%, 0%, 12.9%)
CIE-LABlab(56.81, 32.46, -48.88)
CIE-LCHlch(56.81, 58.67, 303.59°)
OKLaboklab(64.07% 0.0584 -0.1377)
OKLCHoklch(64.07% 0.15 293)
XYZxyz(31.5749, 24.7260, 72.2021)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178DE #C5DE78
analogous
#7892DE #9178DE #C478DE
triadic
#9178DE #DE9178 #78DE91
tetradic
#9178DE #DE7892 #C5DE78 #78DEC4
square
#9178DE #DE7892 #C5DE78 #78DEC4
split-complementary
#9178DE #DEC478 #92DE78
monochromatic
#4C2BB0 #6947D2 #9178DE #B9A9EA #E1DAF6

Accessibility & contrast

On white

3.53
#9178DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9178DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178DE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178DE#FFFFFF#000000##000000
##9178DE1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE2
Deuteranopia (green-blind)
#5986DC
Tritanopia (blue-blind)
#7F8CA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9178de;
/* rgb */ color: rgb(145, 120, 222);
/* oklch */ color: oklch(64.1% 0.150 293.0);
Tailwind
colors: {
  custom: {
    50: '#b49fe9',
    500: '#9178de',
    950: '#000000',
  },
}
SCSS
$custom: #9178de;
$custom-light: #b49fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9178de",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 254.706,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64073,
    "c": 0.14958,
    "h": 293
  },
  "luminance": 0.24727
}

Semantic roles & 50–950 ramp

primary
#9178DE
secondary
#E1E9C9
accent
#C81D9E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9178DE

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

Preview Lab → · Contrast checker → · Palette generator →

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