#7D539C#7D539C

#7D539C is a mid, moderate violet. Relative luminance 0.129; OKLCH L 51.9% C 0.120 H 309.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7D539C
RGBrgb(125, 83, 156)
HSLhsl(275, 31%, 47%)
HSVhsv(275, 47%, 61%)
CMYKcmyk(19.9%, 46.8%, 0%, 38.8%)
CIE-LABlab(42.68, 31.78, -33.19)
CIE-LCHlch(42.68, 45.95, 313.75°)
OKLaboklab(51.89% 0.0758 -0.0925)
OKLCHoklch(51.89% 0.12 309.3)
XYZxyz(17.5503, 12.9470, 33.0205)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D539C #729C53
analogous
#59539C #7D539C #9C5397
triadic
#7D539C #9C7D53 #539C7D
tetradic
#7D539C #9C5953 #729C53 #53979C
square
#7D539C #9C5953 #729C53 #53979C
split-complementary
#7D539C #979C53 #539C59
monochromatic
#3D284C #5D3E74 #7D539C #9B76B6 #B89ECB

Accessibility & contrast

On white

5.85
#7D539C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7D539C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D539C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D539C#FFFFFF#000000##FFFFFF
##7D539C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#4D659A
Tritanopia (blue-blind)
#795F70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d539c;
/* rgb */ color: rgb(125, 83, 156);
/* oklch */ color: oklch(51.9% 0.120 309.3);
Tailwind
colors: {
  custom: {
    50: '#a484b9',
    500: '#7d539c',
    950: '#000000',
  },
}
SCSS
$custom: #7d539c;
$custom-light: #a484b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d539c",
  "rgb": {
    "r": 125,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 274.521,
    "s": 30.544,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.11958,
    "h": 309.3
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#7D539C
secondary
#A3B992
accent
#C7618C
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D539C

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

Preview Lab → · Contrast checker → · Palette generator →

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