#7D549A#7D549A

#7D549A is a mid, moderate violet. Relative luminance 0.130; OKLCH L 52.0% C 0.115 H 309.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7D549A
RGBrgb(125, 84, 154)
HSLhsl(275, 29%, 47%)
HSVhsv(275, 45%, 60%)
CMYKcmyk(18.8%, 45.5%, 0%, 39.6%)
CIE-LABlab(42.81, 30.72, -31.79)
CIE-LCHlch(42.81, 44.21, 314.02°)
OKLaboklab(51.96% 0.074 -0.0884)
OKLCHoklch(51.96% 0.115 309.9)
XYZxyz(17.4594, 13.0340, 32.1616)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D549A #719A54
analogous
#5A549A #7D549A #9A5494
triadic
#7D549A #9A7D54 #549A7D
tetradic
#7D549A #9A5A54 #719A54 #54949A
square
#7D549A #9A5A54 #719A54 #54949A
split-complementary
#7D549A #949A54 #549A5A
monochromatic
#3D294B #5D3E72 #7D549A #9B77B5 #B89ECA

Accessibility & contrast

On white

5.82
#7D549A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7D549A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D549A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D549A#FFFFFF#000000##FFFFFF
##7D549A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639D
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#7A5F6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d549a;
/* rgb */ color: rgb(125, 84, 154);
/* oklch */ color: oklch(52.0% 0.115 309.9);
Tailwind
colors: {
  custom: {
    50: '#a485b8',
    500: '#7d549a',
    950: '#000000',
  },
}
SCSS
$custom: #7d549a;
$custom-light: #a485b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d549a",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 275.143,
    "s": 29.412,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.11529,
    "h": 309.9
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#7D549A
secondary
#A2B792
accent
#C6628B
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D549A

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

Preview Lab → · Contrast checker → · Palette generator →

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