#9178DD#9178DD

#9178DD is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.0% C 0.148 H 293.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9178DD
RGBrgb(145, 120, 221)
HSLhsl(255, 60%, 67%)
HSVhsv(255, 46%, 87%)
CMYKcmyk(34.4%, 45.7%, 0%, 13.3%)
CIE-LABlab(56.75, 32.20, -48.40)
CIE-LCHlch(56.75, 58.13, 303.64°)
OKLaboklab(64.02% 0.0583 -0.1363)
OKLCHoklch(64.02% 0.148 293.1)
XYZxyz(31.4413, 24.6725, 71.4983)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178DD #C4DD78
analogous
#7892DD #9178DD #C378DD
triadic
#9178DD #DD9178 #78DD91
tetradic
#9178DD #DD7892 #C4DD78 #78DDC3
square
#9178DD #DD7892 #C4DD78 #78DDC3
split-complementary
#9178DD #DDC378 #92DD78
monochromatic
#4C2CAF #6947D1 #9178DD #B9A9E9 #E1DAF6

Accessibility & contrast

On white

3.54
#9178DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9178DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178DD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178DD#FFFFFF#000000##000000
##9178DD1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E1
Deuteranopia (green-blind)
#5986DB
Tritanopia (blue-blind)
#7F8BA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9178dd;
/* rgb */ color: rgb(145, 120, 221);
/* oklch */ color: oklch(64.0% 0.148 293.1);
Tailwind
colors: {
  custom: {
    50: '#b49fe8',
    500: '#9178dd',
    950: '#000000',
  },
}
SCSS
$custom: #9178dd;
$custom-light: #b49fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9178dd",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 254.851,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64017,
    "c": 0.14825,
    "h": 293.1
  },
  "luminance": 0.24673
}

Semantic roles & 50–950 ramp

primary
#9178DD
secondary
#E1E9C8
accent
#C71E9E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9178DD

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

Preview Lab → · Contrast checker → · Palette generator →

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