#76579C#76579C

#76579C is a mid, moderate violet. Relative luminance 0.131; OKLCH L 51.9% C 0.110 H 303.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#76579C
RGBrgb(118, 87, 156)
HSLhsl(267, 28%, 48%)
HSVhsv(267, 44%, 61%)
CMYKcmyk(24.4%, 44.2%, 0%, 38.8%)
CIE-LABlab(42.87, 27.31, -32.96)
CIE-LCHlch(42.87, 42.80, 309.65°)
OKLaboklab(51.85% 0.0609 -0.092)
OKLCHoklch(51.85% 0.11 303.5)
XYZxyz(16.8789, 13.0683, 33.0793)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76579C #7D9C57
analogous
#575A9C #76579C #99579C
triadic
#76579C #9C7657 #579C76
tetradic
#76579C #9C575A #7D9C57 #579C99
square
#76579C #9C575A #7D9C57 #579C99
split-complementary
#76579C #9C9957 #5A9C57
monochromatic
#3B2B4D #584175 #76579C #957BB5 #B5A2CB

Accessibility & contrast

On white

5.81
#76579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#76579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #76579C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76579C#FFFFFF#000000##FFFFFF
##76579C1.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)
#45649F
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#706372
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #76579c;
/* rgb */ color: rgb(118, 87, 156);
/* oklch */ color: oklch(51.9% 0.110 303.5);
Tailwind
colors: {
  custom: {
    50: '#9f87b9',
    500: '#76579c',
    950: '#000000',
  },
}
SCSS
$custom: #76579c;
$custom-light: #9f87b9;
$custom-dark: #000000;
JSON
{
  "hex": "#76579c",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 266.957,
    "s": 28.395,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.11031,
    "h": 303.5
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#76579C
secondary
#A9B996
accent
#C56399
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #76579C

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

Preview Lab → · Contrast checker → · Palette generator →

#76579C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva