#7E5684#7E5684

#7E5684 is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.3% C 0.085 H 322.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7E5684
RGBrgb(126, 86, 132)
HSLhsl(292, 21%, 43%)
HSVhsv(292, 35%, 52%)
CMYKcmyk(4.5%, 34.8%, 0%, 48.2%)
CIE-LABlab(42.40, 24.92, -19.18)
CIE-LCHlch(42.40, 31.45, 322.42°)
OKLaboklab(51.33% 0.0672 -0.0523)
OKLCHoklch(51.33% 0.085 322.1)
XYZxyz(16.0963, 12.7576, 23.4399)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5684 #5C8456
analogous
#675684 #7E5684 #845673
triadic
#7E5684 #847E56 #56847E
tetradic
#7E5684 #846756 #5C8456 #567384
square
#7E5684 #846756 #5C8456 #567384
split-complementary
#7E5684 #738456 #568467
monochromatic
#37263A #5B3E5F #7E5684 #9E73A4 #B798BC

Accessibility & contrast

On white

5.91
#7E5684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7E5684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5684
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5684#FFFFFF#000000##FFFFFF
##7E56841.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516186
Deuteranopia (green-blind)
#5B6682
Tritanopia (blue-blind)
#7F5B67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5684;
/* rgb */ color: rgb(126, 86, 132);
/* oklch */ color: oklch(51.3% 0.085 322.1);
Tailwind
colors: {
  custom: {
    50: '#a486a8',
    500: '#7e5684',
    950: '#000000',
  },
}
SCSS
$custom: #7e5684;
$custom-light: #a486a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5684",
  "rgb": {
    "r": 126,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 292.174,
    "s": 21.101,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.08517,
    "h": 322.1
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#7E5684
secondary
#90AA8C
accent
#BE6A75
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E5684

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

Preview Lab → · Contrast checker → · Palette generator →

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