#78459B#78459B

#78459B is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.140 H 309.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#78459B
RGBrgb(120, 69, 155)
HSLhsl(276, 38%, 44%)
HSVhsv(276, 55%, 61%)
CMYKcmyk(22.6%, 55.5%, 0%, 39.2%)
CIE-LABlab(38.93, 38.11, -38.58)
CIE-LCHlch(38.93, 54.23, 314.65°)
OKLaboklab(48.95% 0.0894 -0.1082)
OKLCHoklch(48.95% 0.14 309.5)
XYZxyz(15.7891, 10.6161, 32.2213)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78459B #689B45
analogous
#4D459B #78459B #9B4593
triadic
#78459B #9B7845 #459B78
tetradic
#78459B #9B4D45 #689B45 #45939B
square
#78459B #9B4D45 #689B45 #45939B
split-complementary
#78459B #939B45 #459B4D
monochromatic
#361F46 #573271 #78459B #9763BA #B38ECD

Accessibility & contrast

On white

6.72
#78459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#78459B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78459B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78459B#FFFFFF#000000##FFFFFF
##78459B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#3C5C99
Tritanopia (blue-blind)
#735469
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #78459b;
/* rgb */ color: rgb(120, 69, 155);
/* oklch */ color: oklch(49.0% 0.140 309.5);
Tailwind
colors: {
  custom: {
    50: '#a17bb9',
    500: '#78459b',
    950: '#000000',
  },
}
SCSS
$custom: #78459b;
$custom-light: #a17bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#78459b",
  "rgb": {
    "r": 120,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 275.581,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.14036,
    "h": 309.5
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#78459B
secondary
#99B884
accent
#CE5989
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #78459B

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

Preview Lab → · Contrast checker → · Palette generator →

#78459B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva