#7B548E#7B548E

#7B548E is a mid, moderate purple. Relative luminance 0.125; OKLCH L 51.1% C 0.099 H 314.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7B548E
RGBrgb(123, 84, 142)
HSLhsl(280, 26%, 44%)
HSVhsv(280, 41%, 56%)
CMYKcmyk(13.4%, 40.8%, 0%, 44.3%)
CIE-LABlab(42.01, 27.31, -25.86)
CIE-LCHlch(42.01, 37.61, 316.56°)
OKLaboklab(51.11% 0.0691 -0.0714)
OKLCHoklch(51.11% 0.099 314.1)
XYZxyz(16.2204, 12.5049, 27.1452)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B548E #678E54
analogous
#5E548E #7B548E #8E5484
triadic
#7B548E #8E7B54 #548E7B
tetradic
#7B548E #8E5E54 #678E54 #54848E
square
#7B548E #8E5E54 #678E54 #54848E
split-complementary
#7B548E #848E54 #548E5E
monochromatic
#382741 #5A3D68 #7B548E #9973AC #B599C3

Accessibility & contrast

On white

6.00
#7B548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B548E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B548E#FFFFFF#000000##FFFFFF
##7B548E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#7A5C6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b548e;
/* rgb */ color: rgb(123, 84, 142);
/* oklch */ color: oklch(51.1% 0.099 314.1);
Tailwind
colors: {
  custom: {
    50: '#a285af',
    500: '#7b548e',
    950: '#000000',
  },
}
SCSS
$custom: #7b548e;
$custom-light: #a285af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b548e",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 280.345,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.09935,
    "h": 314.1
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#7B548E
secondary
#99B08E
accent
#C26684
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7B548E

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

Preview Lab → · Contrast checker → · Palette generator →

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