#7E5683#7E5683

#7E5683 is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.3% C 0.084 H 322.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7E5683
RGBrgb(126, 86, 131)
HSLhsl(293, 21%, 43%)
HSVhsv(293, 34%, 51%)
CMYKcmyk(3.8%, 34.4%, 0%, 48.6%)
CIE-LABlab(42.35, 24.71, -18.64)
CIE-LCHlch(42.35, 30.95, 322.97°)
OKLaboklab(51.29% 0.0669 -0.0508)
OKLCHoklch(51.29% 0.084 322.8)
XYZxyz(16.0282, 12.7304, 23.0812)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5683 #5B8356
analogous
#675683 #7E5683 #835672
triadic
#7E5683 #837E56 #56837E
tetradic
#7E5683 #836756 #5B8356 #567283
square
#7E5683 #836756 #5B8356 #567283
split-complementary
#7E5683 #728356 #568367
monochromatic
#372539 #5A3E5E #7E5683 #9E73A3 #B798BB

Accessibility & contrast

On white

5.92
#7E5683 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E5683
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5683#FFFFFF#000000##FFFFFF
##7E56831.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516185
Deuteranopia (green-blind)
#5B6682
Tritanopia (blue-blind)
#805B67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5683;
/* rgb */ color: rgb(126, 86, 131);
/* oklch */ color: oklch(51.3% 0.084 322.8);
Tailwind
colors: {
  custom: {
    50: '#a486a7',
    500: '#7e5683',
    950: '#000000',
  },
}
SCSS
$custom: #7e5683;
$custom-light: #a486a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5683",
  "rgb": {
    "r": 126,
    "g": 86,
    "b": 131
  },
  "hsl": {
    "h": 293.333,
    "s": 20.737,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.08401,
    "h": 322.8
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#7E5683
secondary
#8FA98C
accent
#BD6A74
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E5683

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

Preview Lab → · Contrast checker → · Palette generator →

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