#78559D#78559D

#78559D is a mid, moderate violet. Relative luminance 0.129; OKLCH L 51.8% C 0.116 H 305.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#78559D
RGBrgb(120, 85, 157)
HSLhsl(269, 30%, 47%)
HSVhsv(269, 46%, 62%)
CMYKcmyk(23.6%, 45.9%, 0%, 38.4%)
CIE-LABlab(42.65, 29.35, -33.88)
CIE-LCHlch(42.65, 44.82, 310.90°)
OKLaboklab(51.76% 0.0666 -0.0946)
OKLCHoklch(51.76% 0.116 305.1)
XYZxyz(17.0788, 12.9245, 33.4867)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78559D #7A9D55
analogous
#55569D #78559D #9C559D
triadic
#78559D #9D7855 #559D78
tetradic
#78559D #9D5556 #7A9D55 #559D9C
square
#78559D #9D5556 #7A9D55 #559D9C
split-complementary
#78559D #9D9C55 #569D55
monochromatic
#3B2A4E #5A4075 #78559D #9779B6 #B6A1CC

Accessibility & contrast

On white

5.86
#78559D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#78559D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78559D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78559D#FFFFFF#000000##FFFFFF
##78559D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A0
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#726171
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #78559d;
/* rgb */ color: rgb(120, 85, 157);
/* oklch */ color: oklch(51.8% 0.116 305.1);
Tailwind
colors: {
  custom: {
    50: '#a085ba',
    500: '#78559d',
    950: '#000000',
  },
}
SCSS
$custom: #78559d;
$custom-light: #a085ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78559d",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 269.167,
    "s": 29.752,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.11569,
    "h": 305.1
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#78559D
secondary
#A7B995
accent
#C66295
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #78559D

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

Preview Lab → · Contrast checker → · Palette generator →

#78559D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva