#7E549E#7E549E

#7E549E is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.3% C 0.121 H 309.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7E549E
RGBrgb(126, 84, 158)
HSLhsl(274, 31%, 47%)
HSVhsv(274, 47%, 62%)
CMYKcmyk(20.3%, 46.8%, 0%, 38%)
CIE-LABlab(43.13, 31.97, -33.67)
CIE-LCHlch(43.13, 46.43, 313.51°)
OKLaboklab(52.29% 0.0759 -0.0938)
OKLCHoklch(52.29% 0.121 309)
XYZxyz(17.9449, 13.2451, 33.9523)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E549E #749E54
analogous
#59549E #7E549E #9E5499
triadic
#7E549E #9E7E54 #549E7E
tetradic
#7E549E #9E5954 #749E54 #54999E
square
#7E549E #9E5954 #749E54 #54999E
split-complementary
#7E549E #999E54 #549E59
monochromatic
#3E2A4E #5E3F76 #7E549E #9C78B7 #B9A0CC

Accessibility & contrast

On white

5.76
#7E549E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7E549E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E549E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E549E#FFFFFF#000000##FFFFFF
##7E549E1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#4D679C
Tritanopia (blue-blind)
#7A6071
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e549e;
/* rgb */ color: rgb(126, 84, 158);
/* oklch */ color: oklch(52.3% 0.121 309.0);
Tailwind
colors: {
  custom: {
    50: '#a585bb',
    500: '#7e549e',
    950: '#000000',
  },
}
SCSS
$custom: #7e549e;
$custom-light: #a585bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e549e",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 274.054,
    "s": 30.579,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.12071,
    "h": 309
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#7E549E
secondary
#A4BA94
accent
#C7618D
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #7E549E

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

Preview Lab → · Contrast checker → · Palette generator →

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