#7E549B#7E549B

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

Color values

HEX#7E549B
RGBrgb(126, 84, 155)
HSLhsl(275, 30%, 47%)
HSVhsv(275, 46%, 61%)
CMYKcmyk(18.7%, 45.8%, 0%, 39.2%)
CIE-LABlab(42.98, 31.26, -32.12)
CIE-LCHlch(42.98, 44.82, 314.22°)
OKLaboklab(52.12% 0.0754 -0.0894)
OKLCHoklch(52.12% 0.117 310.2)
XYZxyz(17.6898, 13.1431, 32.6090)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E549B #719B54
analogous
#5B549B #7E549B #9B5495
triadic
#7E549B #9B7E54 #549B7E
tetradic
#7E549B #9B5B54 #719B54 #54959B
square
#7E549B #9B5B54 #719B54 #54959B
split-complementary
#7E549B #959B54 #549B5B
monochromatic
#3D294C #5E3E73 #7E549B #9C77B5 #B99FCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E549B#FFFFFF#000000##FFFFFF
##7E549B1.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)
#44649E
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#7B5F70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e549b;
/* rgb */ color: rgb(126, 84, 155);
/* oklch */ color: oklch(52.1% 0.117 310.2);
Tailwind
colors: {
  custom: {
    50: '#a585b9',
    500: '#7e549b',
    950: '#000000',
  },
}
SCSS
$custom: #7e549b;
$custom-light: #a585b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e549b",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 275.493,
    "s": 29.707,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.11694,
    "h": 310.2
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E549B

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

Preview Lab → · Contrast checker → · Palette generator →

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