#7C559C#7C559C

#7C559C is a mid, moderate violet. Relative luminance 0.132; OKLCH L 52.1% C 0.116 H 308.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7C559C
RGBrgb(124, 85, 156)
HSLhsl(273, 29%, 47%)
HSVhsv(273, 46%, 61%)
CMYKcmyk(20.5%, 45.5%, 0%, 38.8%)
CIE-LABlab(43.04, 30.30, -32.64)
CIE-LCHlch(43.04, 44.54, 312.87°)
OKLaboklab(52.13% 0.0715 -0.0909)
OKLCHoklch(52.13% 0.116 308.2)
XYZxyz(17.5603, 13.1826, 33.0655)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C559C #759C55
analogous
#59559C #7C559C #9C5599
triadic
#7C559C #9C7C55 #559C7C
tetradic
#7C559C #9C5955 #759C55 #55999C
square
#7C559C #9C5955 #759C55 #55999C
split-complementary
#7C559C #999C55 #559C59
monochromatic
#3D2A4D #5D3F74 #7C559C #9A78B6 #B8A0CB

Accessibility & contrast

On white

5.77
#7C559C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7C559C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C559C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C559C#FFFFFF#000000##FFFFFF
##7C559C1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44649F
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#786071
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c559c;
/* rgb */ color: rgb(124, 85, 156);
/* oklch */ color: oklch(52.1% 0.116 308.2);
Tailwind
colors: {
  custom: {
    50: '#a386b9',
    500: '#7c559c',
    950: '#000000',
  },
}
SCSS
$custom: #7c559c;
$custom-light: #a386b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c559c",
  "rgb": {
    "r": 124,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 272.958,
    "s": 29.461,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.11569,
    "h": 308.2
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#7C559C
secondary
#A5B994
accent
#C6628F
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7C559C

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

Preview Lab → · Contrast checker → · Palette generator →

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