#9178DF#9178DF

#9178DF is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.1% C 0.151 H 292.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9178DF
RGBrgb(145, 120, 223)
HSLhsl(255, 62%, 67%)
HSVhsv(255, 46%, 87%)
CMYKcmyk(35%, 46.2%, 0%, 12.5%)
CIE-LABlab(56.86, 32.73, -49.35)
CIE-LCHlch(56.86, 59.22, 303.55°)
OKLaboklab(64.13% 0.0585 -0.1391)
OKLCHoklch(64.13% 0.151 292.8)
XYZxyz(31.7093, 24.7797, 72.9100)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178DF #C6DF78
analogous
#7893DF #9178DF #C578DF
triadic
#9178DF #DF9178 #78DF91
tetradic
#9178DF #DF7893 #C6DF78 #78DFC5
square
#9178DF #DF7893 #C6DF78 #78DFC5
split-complementary
#9178DF #DFC578 #93DF78
monochromatic
#4B2AB2 #6947D3 #9178DF #B9A9EB #E2DBF6

Accessibility & contrast

On white

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

On black

5.96
#9178DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178DF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178DF#FFFFFF#000000##000000
##9178DF1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#5887DD
Tritanopia (blue-blind)
#7E8CA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9178df;
/* rgb */ color: rgb(145, 120, 223);
/* oklch */ color: oklch(64.1% 0.151 292.8);
Tailwind
colors: {
  custom: {
    50: '#b49fe9',
    500: '#9178df',
    950: '#000000',
  },
}
SCSS
$custom: #9178df;
$custom-light: #b49fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9178df",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 254.563,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.15092,
    "h": 292.8
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#9178DF
secondary
#E2EAC9
accent
#C91C9F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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