#7E5493#7E5493

#7E5493 is a mid, moderate purple. Relative luminance 0.129; OKLCH L 51.7% C 0.107 H 313.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7E5493
RGBrgb(126, 84, 147)
HSLhsl(280, 27%, 45%)
HSVhsv(280, 43%, 58%)
CMYKcmyk(14.3%, 42.9%, 0%, 42.4%)
CIE-LABlab(42.59, 29.41, -27.94)
CIE-LCHlch(42.59, 40.57, 316.46°)
OKLaboklab(51.7% 0.074 -0.0773)
OKLCHoklch(51.7% 0.107 313.7)
XYZxyz(17.0401, 12.8832, 29.1872)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5493 #699354
analogous
#5E5493 #7E5493 #935488
triadic
#7E5493 #937E54 #54937E
tetradic
#7E5493 #935E54 #699354 #548893
square
#7E5493 #935E54 #699354 #548893
split-complementary
#7E5493 #889354 #54935E
monochromatic
#3B2745 #5D3E6C #7E5493 #9C74B0 #B89BC6

Accessibility & contrast

On white

5.87
#7E5493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7E5493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5493
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5493#FFFFFF#000000##FFFFFF
##7E54931.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486295
Deuteranopia (green-blind)
#536691
Tritanopia (blue-blind)
#7C5D6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e5493;
/* rgb */ color: rgb(126, 84, 147);
/* oklch */ color: oklch(51.7% 0.107 313.7);
Tailwind
colors: {
  custom: {
    50: '#a485b3',
    500: '#7e5493',
    950: '#000000',
  },
}
SCSS
$custom: #7e5493;
$custom-light: #a485b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5493",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 147
  },
  "hsl": {
    "h": 280,
    "s": 27.273,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.10698,
    "h": 313.7
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#7E5493
secondary
#9BB390
accent
#C46484
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7E5493

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

Preview Lab → · Contrast checker → · Palette generator →

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