#7C579A#7C579A

#7C579A is a mid, moderate violet. Relative luminance 0.134; OKLCH L 52.4% C 0.110 H 308.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C579A
RGBrgb(124, 87, 154)
HSLhsl(273, 28%, 47%)
HSVhsv(273, 44%, 60%)
CMYKcmyk(19.5%, 43.5%, 0%, 39.6%)
CIE-LABlab(43.41, 28.65, -30.86)
CIE-LCHlch(43.41, 42.11, 312.87°)
OKLaboklab(52.38% 0.0682 -0.0858)
OKLCHoklch(52.38% 0.11 308.5)
XYZxyz(17.5520, 13.4348, 32.2341)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C579A #759A57
analogous
#5A579A #7C579A #9A5797
triadic
#7C579A #9A7C57 #579A7C
tetradic
#7C579A #9A5A57 #759A57 #57979A
square
#7C579A #9A5A57 #759A57 #57979A
split-complementary
#7C579A #979A57 #579A5A
monochromatic
#3D2B4C #5D4173 #7C579A #9A7AB4 #B8A1CA

Accessibility & contrast

On white

5.70
#7C579A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7C579A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C579A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C579A#FFFFFF#000000##FFFFFF
##7C579A1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659C
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#786171
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c579a;
/* rgb */ color: rgb(124, 87, 154);
/* oklch */ color: oklch(52.4% 0.110 308.5);
Tailwind
colors: {
  custom: {
    50: '#a387b8',
    500: '#7c579a',
    950: '#000000',
  },
}
SCSS
$custom: #7c579a;
$custom-light: #a387b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c579a",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 273.134,
    "s": 27.801,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.10958,
    "h": 308.5
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#7C579A
secondary
#A5B895
accent
#C4648F
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7C579A

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

Preview Lab → · Contrast checker → · Palette generator →

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