#7A559D#7A559D

#7A559D is a mid, moderate violet. Relative luminance 0.131; OKLCH L 52.0% C 0.116 H 306.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7A559D
RGBrgb(122, 85, 157)
HSLhsl(271, 30%, 47%)
HSVhsv(271, 46%, 62%)
CMYKcmyk(22.3%, 45.9%, 0%, 38.4%)
CIE-LABlab(42.87, 29.95, -33.52)
CIE-LCHlch(42.87, 44.95, 311.77°)
OKLaboklab(51.97% 0.0691 -0.0935)
OKLCHoklch(51.97% 0.116 306.5)
XYZxyz(17.3591, 13.0690, 33.4998)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A559D #789D55
analogous
#56559D #7A559D #9D559C
triadic
#7A559D #9D7A55 #559D7A
tetradic
#7A559D #9D5655 #789D55 #559C9D
square
#7A559D #9D5655 #789D55 #559C9D
split-complementary
#7A559D #9C9D55 #559D56
monochromatic
#3C2A4E #5B4075 #7A559D #9879B6 #B7A1CC

Accessibility & contrast

On white

5.81
#7A559D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7A559D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A559D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A559D#FFFFFF#000000##FFFFFF
##7A559D1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A0
Deuteranopia (green-blind)
#4C669B
Tritanopia (blue-blind)
#756171
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a559d;
/* rgb */ color: rgb(122, 85, 157);
/* oklch */ color: oklch(52.0% 0.116 306.5);
Tailwind
colors: {
  custom: {
    50: '#a285ba',
    500: '#7a559d',
    950: '#000000',
  },
}
SCSS
$custom: #7a559d;
$custom-light: #a285ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a559d",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 270.833,
    "s": 29.752,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.1163,
    "h": 306.5
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#7A559D
secondary
#A6B995
accent
#C66293
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7A559D

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

Preview Lab → · Contrast checker → · Palette generator →

#7A559D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva