#7D579C#7D579C

#7D579C is a mid, moderate violet. Relative luminance 0.136; OKLCH L 52.6% C 0.113 H 308.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7D579C
RGBrgb(125, 87, 156)
HSLhsl(273, 28%, 48%)
HSVhsv(273, 44%, 61%)
CMYKcmyk(19.9%, 44.2%, 0%, 38.8%)
CIE-LABlab(43.62, 29.43, -31.72)
CIE-LCHlch(43.62, 43.27, 312.86°)
OKLaboklab(52.59% 0.0698 -0.0882)
OKLCHoklch(52.59% 0.113 308.4)
XYZxyz(17.8652, 13.5769, 33.1255)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D579C #769C57
analogous
#5A579C #7D579C #9C5799
triadic
#7D579C #9C7D57 #579C7D
tetradic
#7D579C #9C5A57 #769C57 #57999C
square
#7D579C #9C5A57 #769C57 #57999C
split-complementary
#7D579C #999C57 #579C5A
monochromatic
#3E2B4D #5E4175 #7D579C #9B7BB5 #B9A2CB

Accessibility & contrast

On white

5.65
#7D579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7D579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D579C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D579C#FFFFFF#000000##FFFFFF
##7D579C1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47659F
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#796272
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d579c;
/* rgb */ color: rgb(125, 87, 156);
/* oklch */ color: oklch(52.6% 0.113 308.4);
Tailwind
colors: {
  custom: {
    50: '#a487b9',
    500: '#7d579c',
    950: '#000000',
  },
}
SCSS
$custom: #7d579c;
$custom-light: #a487b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d579c",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 273.043,
    "s": 28.395,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52593,
    "c": 0.11252,
    "h": 308.4
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#7D579C
secondary
#A6B996
accent
#C5638F
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D579C

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

Preview Lab → · Contrast checker → · Palette generator →

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