#7A539B#7A539B

#7A539B is a mid, moderate violet. Relative luminance 0.127; OKLCH L 51.5% C 0.117 H 307.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7A539B
RGBrgb(122, 83, 155)
HSLhsl(273, 30%, 47%)
HSVhsv(273, 46%, 61%)
CMYKcmyk(21.3%, 46.5%, 0%, 39.2%)
CIE-LABlab(42.29, 30.64, -33.23)
CIE-LCHlch(42.29, 45.20, 312.67°)
OKLaboklab(51.51% 0.0718 -0.0927)
OKLCHoklch(51.51% 0.117 307.8)
XYZxyz(17.0345, 12.6908, 32.5562)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A539B #749B53
analogous
#56539B #7A539B #9B5398
triadic
#7A539B #9B7A53 #539B7A
tetradic
#7A539B #9B5653 #749B53 #53989B
square
#7A539B #9B5653 #749B53 #53989B
split-complementary
#7A539B #989B53 #539B56
monochromatic
#3B284B #5B3E73 #7A539B #9876B5 #B69ECB

Accessibility & contrast

On white

5.94
#7A539B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7A539B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A539B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A539B#FFFFFF#000000##FFFFFF
##7A539B1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629E
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#755F6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a539b;
/* rgb */ color: rgb(122, 83, 155);
/* oklch */ color: oklch(51.5% 0.117 307.8);
Tailwind
colors: {
  custom: {
    50: '#a284b9',
    500: '#7a539b',
    950: '#000000',
  },
}
SCSS
$custom: #7a539b;
$custom-light: #a284b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a539b",
  "rgb": {
    "r": 122,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 272.5,
    "s": 30.252,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.11722,
    "h": 307.8
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#7A539B
secondary
#A3B892
accent
#C66190
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7A539B

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

Preview Lab → · Contrast checker → · Palette generator →

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