#7E5984#7E5984

#7E5984 is a mid, moderate purple. Relative luminance 0.132; OKLCH L 51.9% C 0.079 H 321.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7E5984
RGBrgb(126, 89, 132)
HSLhsl(292, 19%, 43%)
HSVhsv(292, 33%, 52%)
CMYKcmyk(4.5%, 32.6%, 0%, 48.2%)
CIE-LABlab(43.13, 23.14, -18.05)
CIE-LCHlch(43.13, 29.35, 322.04°)
OKLaboklab(51.9% 0.0623 -0.0491)
OKLCHoklch(51.9% 0.079 321.7)
XYZxyz(16.3409, 13.2468, 23.5214)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5984 #5F8459
analogous
#685984 #7E5984 #845974
triadic
#7E5984 #847E59 #59847E
tetradic
#7E5984 #846859 #5F8459 #597484
square
#7E5984 #846859 #5F8459 #597484
split-complementary
#7E5984 #748459 #598468
monochromatic
#38283B #5B405F #7E5984 #9D77A3 #B79BBC

Accessibility & contrast

On white

5.75
#7E5984 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E5984
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5984#FFFFFF#000000##FFFFFF
##7E59841.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546386
Deuteranopia (green-blind)
#5D6783
Tritanopia (blue-blind)
#7F5D69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e5984;
/* rgb */ color: rgb(126, 89, 132);
/* oklch */ color: oklch(51.9% 0.079 321.7);
Tailwind
colors: {
  custom: {
    50: '#a488a8',
    500: '#7e5984',
    950: '#000000',
  },
}
SCSS
$custom: #7e5984;
$custom-light: #a488a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5984",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 132
  },
  "hsl": {
    "h": 291.628,
    "s": 19.457,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.07936,
    "h": 321.7
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#7E5984
secondary
#93AA8F
accent
#BC6C77
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E5984

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

Preview Lab → · Contrast checker → · Palette generator →

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