#7C539D#7C539D

#7C539D is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.8% C 0.120 H 308.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7C539D
RGBrgb(124, 83, 157)
HSLhsl(273, 31%, 47%)
HSVhsv(273, 47%, 62%)
CMYKcmyk(21%, 47.1%, 0%, 38.4%)
CIE-LABlab(42.62, 31.72, -33.89)
CIE-LCHlch(42.62, 46.42, 313.10°)
OKLaboklab(51.84% 0.0747 -0.0945)
OKLCHoklch(51.84% 0.12 308.3)
XYZxyz(17.4901, 12.9061, 33.4615)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C539D #749D53
analogous
#57539D #7C539D #9D5399
triadic
#7C539D #9D7C53 #539D7C
tetradic
#7C539D #9D5753 #749D53 #53999D
square
#7C539D #9D5753 #749D53 #53999D
split-complementary
#7C539D #999D53 #539D57
monochromatic
#3D294D #5C3E75 #7C539D #9A76B7 #B89ECC

Accessibility & contrast

On white

5.86
#7C539D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7C539D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C539D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C539D#FFFFFF#000000##FFFFFF
##7C539D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A0
Deuteranopia (green-blind)
#4C659B
Tritanopia (blue-blind)
#775F70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c539d;
/* rgb */ color: rgb(124, 83, 157);
/* oklch */ color: oklch(51.8% 0.120 308.3);
Tailwind
colors: {
  custom: {
    50: '#a384ba',
    500: '#7c539d',
    950: '#000000',
  },
}
SCSS
$custom: #7c539d;
$custom-light: #a384ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c539d",
  "rgb": {
    "r": 124,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 273.243,
    "s": 30.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.12047,
    "h": 308.3
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#7C539D
secondary
#A4B993
accent
#C7618E
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7C539D

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

Preview Lab → · Contrast checker → · Palette generator →

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