#7E5083#7E5083

#7E5083 is a mid, moderate purple. Relative luminance 0.118; OKLCH L 50.2% C 0.096 H 323.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7E5083
RGBrgb(126, 80, 131)
HSLhsl(294, 24%, 41%)
HSVhsv(294, 39%, 51%)
CMYKcmyk(3.8%, 38.9%, 0%, 48.6%)
CIE-LABlab(40.92, 28.25, -20.86)
CIE-LCHlch(40.92, 35.11, 323.56°)
OKLaboklab(50.2% 0.0767 -0.057)
OKLCHoklch(50.2% 0.096 323.4)
XYZxyz(15.5691, 11.8122, 22.9282)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5083 #558350
analogous
#655083 #7E5083 #83506F
triadic
#7E5083 #837E50 #50837E
tetradic
#7E5083 #836550 #558350 #506F83
square
#7E5083 #836550 #558350 #506F83
split-complementary
#7E5083 #6F8350 #508365
monochromatic
#352237 #59395D #7E5083 #9F6BA5 #B891BC

Accessibility & contrast

On white

6.25
#7E5083 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7E5083 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5083
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5083#FFFFFF#000000##FFFFFF
##7E50831.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D85
Deuteranopia (green-blind)
#566281
Tritanopia (blue-blind)
#805563
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e5083;
/* rgb */ color: rgb(126, 80, 131);
/* oklch */ color: oklch(50.2% 0.096 323.4);
Tailwind
colors: {
  custom: {
    50: '#a482a7',
    500: '#7e5083',
    950: '#000000',
  },
}
SCSS
$custom: #7e5083;
$custom-light: #a482a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5083",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 294.118,
    "s": 24.171,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.09554,
    "h": 323.4
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#7E5083
secondary
#89A986
accent
#C16770
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7E5083

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

Preview Lab → · Contrast checker → · Palette generator →

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