#7E549F#7E549F

#7E549F is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.3% C 0.122 H 308.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7E549F
RGBrgb(126, 84, 159)
HSLhsl(274, 31%, 48%)
HSVhsv(274, 47%, 62%)
CMYKcmyk(20.8%, 47.2%, 0%, 37.6%)
CIE-LABlab(43.18, 32.20, -34.19)
CIE-LCHlch(43.18, 46.97, 313.29°)
OKLaboklab(52.34% 0.0761 -0.0953)
OKLCHoklch(52.34% 0.122 308.6)
XYZxyz(18.0313, 13.2797, 34.4075)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E549F #759F54
analogous
#59549F #7E549F #9F549A
triadic
#7E549F #9F7E54 #549F7E
tetradic
#7E549F #9F5954 #759F54 #549A9F
square
#7E549F #9F5954 #759F54 #549A9F
split-complementary
#7E549F #9A9F54 #549F59
monochromatic
#3F2A4F #5E3F77 #7E549F #9C78B8 #B9A0CD

Accessibility & contrast

On white

5.74
#7E549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7E549F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E549F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E549F#FFFFFF#000000##FFFFFF
##7E549F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A2
Deuteranopia (green-blind)
#4D679D
Tritanopia (blue-blind)
#7A6072
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e549f;
/* rgb */ color: rgb(126, 84, 159);
/* oklch */ color: oklch(52.3% 0.122 308.6);
Tailwind
colors: {
  custom: {
    50: '#a585bc',
    500: '#7e549f',
    950: '#000000',
  },
}
SCSS
$custom: #7e549f;
$custom-light: #a585bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e549f",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 273.6,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.12197,
    "h": 308.6
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#7E549F
secondary
#A5BA94
accent
#C7618E
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #7E549F

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

Preview Lab → · Contrast checker → · Palette generator →

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