#7E5392#7E5392

#7E5392 is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.5% C 0.108 H 314.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7E5392
RGBrgb(126, 83, 146)
HSLhsl(281, 28%, 45%)
HSVhsv(281, 43%, 57%)
CMYKcmyk(13.7%, 43.2%, 0%, 42.7%)
CIE-LABlab(42.30, 29.76, -27.78)
CIE-LCHlch(42.30, 40.72, 316.97°)
OKLaboklab(51.47% 0.0753 -0.0768)
OKLCHoklch(51.47% 0.108 314.4)
XYZxyz(16.8849, 12.6978, 28.7500)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5392 #679253
analogous
#5E5392 #7E5392 #925387
triadic
#7E5392 #927E53 #53927E
tetradic
#7E5392 #925E53 #679253 #538792
square
#7E5392 #925E53 #679253 #538792
split-complementary
#7E5392 #879253 #53925E
monochromatic
#3B2744 #5C3D6B #7E5392 #9C73AF #B89AC6

Accessibility & contrast

On white

5.93
#7E5392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7E5392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5392
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5392#FFFFFF#000000##FFFFFF
##7E53921.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486194
Deuteranopia (green-blind)
#536590
Tritanopia (blue-blind)
#7D5C6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5392;
/* rgb */ color: rgb(126, 83, 146);
/* oklch */ color: oklch(51.5% 0.108 314.4);
Tailwind
colors: {
  custom: {
    50: '#a484b2',
    500: '#7e5392',
    950: '#000000',
  },
}
SCSS
$custom: #7e5392;
$custom-light: #a484b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5392",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 280.952,
    "s": 27.511,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.10758,
    "h": 314.4
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#7E5392
secondary
#9AB38E
accent
#C46482
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7E5392

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

Preview Lab → · Contrast checker → · Palette generator →

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