#7A558D#7A558D

#7A558D is a mid, moderate violet. Relative luminance 0.126; OKLCH L 51.1% C 0.096 H 313.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7A558D
RGBrgb(122, 85, 141)
HSLhsl(280, 25%, 44%)
HSVhsv(280, 40%, 55%)
CMYKcmyk(13.5%, 39.7%, 0%, 44.7%)
CIE-LABlab(42.09, 26.16, -25.14)
CIE-LCHlch(42.09, 36.28, 316.14°)
OKLaboklab(51.13% 0.066 -0.0693)
OKLCHoklch(51.13% 0.096 313.6)
XYZxyz(16.0815, 12.5580, 26.7709)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A558D #688D55
analogous
#5E558D #7A558D #8D5584
triadic
#7A558D #8D7A55 #558D7A
tetradic
#7A558D #8D5E55 #688D55 #55848D
square
#7A558D #8D5E55 #688D55 #55848D
split-complementary
#7A558D #848D55 #558D5E
monochromatic
#382741 #593E67 #7A558D #9874AB #B59AC2

Accessibility & contrast

On white

5.98
#7A558D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7A558D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A558D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A558D#FFFFFF#000000##FFFFFF
##7A558D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#795D6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a558d;
/* rgb */ color: rgb(122, 85, 141);
/* oklch */ color: oklch(51.1% 0.096 313.6);
Tailwind
colors: {
  custom: {
    50: '#a185ae',
    500: '#7a558d',
    950: '#000000',
  },
}
SCSS
$custom: #7a558d;
$custom-light: #a185ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a558d",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 279.643,
    "s": 24.779,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.09575,
    "h": 313.6
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#7A558D
secondary
#9AB08E
accent
#C16785
background
#FAF8FA
surface
#F3EFF4
border
#CDCACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7A558D

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

Preview Lab → · Contrast checker → · Palette generator →

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