#7E4E83#7E4E83

#7E4E83 is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.9% C 0.099 H 323.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7E4E83
RGBrgb(126, 78, 131)
HSLhsl(294, 25%, 41%)
HSVhsv(294, 40%, 51%)
CMYKcmyk(3.8%, 40.5%, 0%, 48.6%)
CIE-LABlab(40.45, 29.41, -21.58)
CIE-LCHlch(40.45, 36.48, 323.74°)
OKLaboklab(49.85% 0.0799 -0.059)
OKLCHoklch(49.85% 0.099 323.5)
XYZxyz(15.4249, 11.5237, 22.8801)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E83 #53834E
analogous
#634E83 #7E4E83 #834E6D
triadic
#7E4E83 #837E4E #4E837E
tetradic
#7E4E83 #83634E #53834E #4E6D83
square
#7E4E83 #83634E #53834E #4E6D83
split-complementary
#7E4E83 #6D834E #4E8363
monochromatic
#342036 #59375D #7E4E83 #A069A6 #B88FBC

Accessibility & contrast

On white

6.35
#7E4E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E4E83
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E83#FFFFFF#000000##FFFFFF
##7E4E831.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C85
Deuteranopia (green-blind)
#556181
Tritanopia (blue-blind)
#805462
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e4e83;
/* rgb */ color: rgb(126, 78, 131);
/* oklch */ color: oklch(49.9% 0.099 323.5);
Tailwind
colors: {
  custom: {
    50: '#a481a7',
    500: '#7e4e83',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e83;
$custom-light: #a481a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e83",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 294.34,
    "s": 25.359,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.09933,
    "h": 323.5
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#7E4E83
secondary
#87A984
accent
#C2666F
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7E4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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