#7E539B#7E539B

#7E539B is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.9% C 0.119 H 310.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7E539B
RGBrgb(126, 83, 155)
HSLhsl(276, 30%, 47%)
HSVhsv(276, 46%, 61%)
CMYKcmyk(18.7%, 46.5%, 0%, 39.2%)
CIE-LABlab(42.75, 31.84, -32.49)
CIE-LCHlch(42.75, 45.49, 314.42°)
OKLaboklab(51.95% 0.0769 -0.0904)
OKLCHoklch(51.95% 0.119 310.4)
XYZxyz(17.6128, 12.9890, 32.5833)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E539B #709B53
analogous
#5A539B #7E539B #9B5394
triadic
#7E539B #9B7E53 #539B7E
tetradic
#7E539B #9B5A53 #709B53 #53949B
square
#7E539B #9B5A53 #709B53 #53949B
split-complementary
#7E539B #949B53 #539B5A
monochromatic
#3D284B #5E3E73 #7E539B #9C76B5 #B99ECB

Accessibility & contrast

On white

5.84
#7E539B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7E539B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E539B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E539B#FFFFFF#000000##FFFFFF
##7E539B1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#4E6699
Tritanopia (blue-blind)
#7B5E6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e539b;
/* rgb */ color: rgb(126, 83, 155);
/* oklch */ color: oklch(51.9% 0.119 310.4);
Tailwind
colors: {
  custom: {
    50: '#a584b9',
    500: '#7e539b',
    950: '#000000',
  },
}
SCSS
$custom: #7e539b;
$custom-light: #a584b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e539b",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 275.833,
    "s": 30.252,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.1187,
    "h": 310.4
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#7E539B
secondary
#A1B892
accent
#C6618A
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7E539B

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

Preview Lab → · Contrast checker → · Palette generator →

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