#7D539B#7D539B

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

Color values

HEX#7D539B
RGBrgb(125, 83, 155)
HSLhsl(275, 30%, 47%)
HSVhsv(275, 46%, 61%)
CMYKcmyk(19.4%, 46.5%, 0%, 39.2%)
CIE-LABlab(42.63, 31.54, -32.68)
CIE-LCHlch(42.63, 45.41, 313.99°)
OKLaboklab(51.84% 0.0756 -0.091)
OKLCHoklch(51.84% 0.118 309.7)
XYZxyz(17.4660, 12.9133, 32.5764)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D539B #719B53
analogous
#59539B #7D539B #9B5395
triadic
#7D539B #9B7D53 #539B7D
tetradic
#7D539B #9B5953 #719B53 #53959B
square
#7D539B #9B5953 #719B53 #53959B
split-complementary
#7D539B #959B53 #539B59
monochromatic
#3D284B #5D3E73 #7D539B #9B76B5 #B89ECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D539B#FFFFFF#000000##FFFFFF
##7D539B1.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)
#42639E
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#795E6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d539b;
/* rgb */ color: rgb(125, 83, 155);
/* oklch */ color: oklch(51.8% 0.118 309.7);
Tailwind
colors: {
  custom: {
    50: '#a484b9',
    500: '#7d539b',
    950: '#000000',
  },
}
SCSS
$custom: #7d539b;
$custom-light: #a484b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d539b",
  "rgb": {
    "r": 125,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 275,
    "s": 30.252,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.11832,
    "h": 309.7
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#7D539B
secondary
#A2B892
accent
#C6618B
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D539B

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

Preview Lab → · Contrast checker → · Palette generator →

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