#7D549D#7D549D

#7D549D is a mid, moderate violet. Relative luminance 0.131; OKLCH L 52.1% C 0.119 H 308.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7D549D
RGBrgb(125, 84, 157)
HSLhsl(274, 30%, 47%)
HSVhsv(274, 46%, 62%)
CMYKcmyk(20.4%, 46.5%, 0%, 38.4%)
CIE-LABlab(42.97, 31.43, -33.34)
CIE-LCHlch(42.97, 45.82, 313.31°)
OKLaboklab(52.12% 0.0745 -0.0929)
OKLCHoklch(52.12% 0.119 308.7)
XYZxyz(17.7124, 13.1352, 33.4940)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D549D #749D54
analogous
#59549D #7D549D #9D5498
triadic
#7D549D #9D7D54 #549D7D
tetradic
#7D549D #9D5954 #749D54 #54989D
square
#7D549D #9D5954 #749D54 #54989D
split-complementary
#7D549D #989D54 #549D59
monochromatic
#3E294D #5D3F75 #7D549D #9B78B7 #B89FCC

Accessibility & contrast

On white

5.79
#7D549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D549D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D549D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D549D#FFFFFF#000000##FFFFFF
##7D549D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A0
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#796071
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d549d;
/* rgb */ color: rgb(125, 84, 157);
/* oklch */ color: oklch(52.1% 0.119 308.7);
Tailwind
colors: {
  custom: {
    50: '#a485ba',
    500: '#7d549d',
    950: '#000000',
  },
}
SCSS
$custom: #7d549d;
$custom-light: #a485ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d549d",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 273.699,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.11908,
    "h": 308.7
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D549D

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

Preview Lab → · Contrast checker → · Palette generator →

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