#78459C#78459C

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

Color values

HEX#78459C
RGBrgb(120, 69, 156)
HSLhsl(275, 39%, 44%)
HSVhsv(275, 56%, 61%)
CMYKcmyk(23.1%, 55.8%, 0%, 38.8%)
CIE-LABlab(38.98, 38.35, -39.09)
CIE-LCHlch(38.98, 54.76, 314.45°)
OKLaboklab(49.02% 0.0894 -0.1097)
OKLCHoklch(49.02% 0.142 309.2)
XYZxyz(15.8734, 10.6499, 32.6655)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78459C #699C45
analogous
#4C459C #78459C #9C4595
triadic
#78459C #9C7845 #459C78
tetradic
#78459C #9C4C45 #699C45 #45959C
square
#78459C #9C4C45 #699C45 #45959C
split-complementary
#78459C #959C45 #459C4C
monochromatic
#371F47 #573272 #78459C #9764BA #B38ECD

Accessibility & contrast

On white

6.71
#78459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#78459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78459C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78459C#FFFFFF#000000##FFFFFF
##78459C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#3B5D9A
Tritanopia (blue-blind)
#73546A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #78459c;
/* rgb */ color: rgb(120, 69, 156);
/* oklch */ color: oklch(49.0% 0.142 309.2);
Tailwind
colors: {
  custom: {
    50: '#a17bba',
    500: '#78459c',
    950: '#000000',
  },
}
SCSS
$custom: #78459c;
$custom-light: #a17bba;
$custom-dark: #000000;
JSON
{
  "hex": "#78459c",
  "rgb": {
    "r": 120,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 275.172,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49015,
    "c": 0.14154,
    "h": 309.2
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#78459C
secondary
#9AB984
accent
#CF598A
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #78459C

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

Preview Lab → · Contrast checker → · Palette generator →

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