#7E507A#7E507A

#7E507A is a mid, moderate purple. Relative luminance 0.116; OKLCH L 49.8% C 0.086 H 329.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7E507A
RGBrgb(126, 80, 122)
HSLhsl(305, 22%, 40%)
HSVhsv(305, 37%, 49%)
CMYKcmyk(0%, 36.5%, 3.2%, 50.6%)
CIE-LABlab(40.54, 26.41, -15.93)
CIE-LCHlch(40.54, 30.85, 328.90°)
OKLaboklab(49.79% 0.0742 -0.0431)
OKLCHoklch(49.79% 0.086 329.9)
XYZxyz(14.9855, 11.5787, 19.8541)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E507A #507E54
analogous
#6B507E #7E507A #7E5063
triadic
#7E507A #7A7E50 #507A7E
tetradic
#7E507A #7E6B50 #507E54 #50637E
square
#7E507A #7E6B50 #507E54 #50637E
split-complementary
#7E507A #637E50 #507E6B
monochromatic
#332032 #593856 #7E507A #A16A9C #B890B5

Accessibility & contrast

On white

6.33
#7E507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7E507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E507A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E507A#FFFFFF#000000##FFFFFF
##7E507A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#81535F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e507a;
/* rgb */ color: rgb(126, 80, 122);
/* oklch */ color: oklch(49.8% 0.086 329.9);
Tailwind
colors: {
  custom: {
    50: '#a482a0',
    500: '#7e507a',
    950: '#000000',
  },
}
SCSS
$custom: #7e507a;
$custom-light: #a482a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e507a",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 305.217,
    "s": 22.33,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.08584,
    "h": 329.9
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#7E507A
secondary
#84A587
accent
#BF7069
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E507A

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

Preview Lab → · Contrast checker → · Palette generator →

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