#7E4E82#7E4E82

#7E4E82 is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.8% C 0.098 H 324.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7E4E82
RGBrgb(126, 78, 130)
HSLhsl(295, 25%, 41%)
HSVhsv(295, 40%, 51%)
CMYKcmyk(3.1%, 40%, 0%, 49%)
CIE-LABlab(40.40, 29.21, -21.04)
CIE-LCHlch(40.40, 35.99, 324.24°)
OKLaboklab(49.8% 0.0797 -0.0575)
OKLCHoklch(49.8% 0.098 324.2)
XYZxyz(15.3574, 11.4967, 22.5249)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E82 #52824E
analogous
#644E82 #7E4E82 #824E6C
triadic
#7E4E82 #827E4E #4E827E
tetradic
#7E4E82 #82644E #52824E #4E6C82
square
#7E4E82 #82644E #52824E #4E6C82
split-complementary
#7E4E82 #6C824E #4E8264
monochromatic
#342035 #59375C #7E4E82 #A068A5 #B88FBC

Accessibility & contrast

On white

6.37
#7E4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7E4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E82
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E82#FFFFFF#000000##FFFFFF
##7E4E821.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C84
Deuteranopia (green-blind)
#556180
Tritanopia (blue-blind)
#805362
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e4e82;
/* rgb */ color: rgb(126, 78, 130);
/* oklch */ color: oklch(49.8% 0.098 324.2);
Tailwind
colors: {
  custom: {
    50: '#a481a6',
    500: '#7e4e82',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e82;
$custom-light: #a481a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e82",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 295.385,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.09823,
    "h": 324.2
  },
  "luminance": 0.11496
}

Semantic roles & 50–950 ramp

primary
#7E4E82
secondary
#86A884
accent
#C1666D
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7E4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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