#7E4E85#7E4E85

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

Color values

HEX#7E4E85
RGBrgb(126, 78, 133)
HSLhsl(292, 26%, 41%)
HSVhsv(292, 41%, 52%)
CMYKcmyk(5.3%, 41.4%, 0%, 47.8%)
CIE-LABlab(40.54, 29.83, -22.66)
CIE-LCHlch(40.54, 37.46, 322.78°)
OKLaboklab(49.95% 0.0804 -0.0621)
OKLCHoklch(49.95% 0.102 322.3)
XYZxyz(15.5617, 11.5784, 23.6009)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E85 #55854E
analogous
#634E85 #7E4E85 #854E71
triadic
#7E4E85 #857E4E #4E857E
tetradic
#7E4E85 #85634E #55854E #4E7185
square
#7E4E85 #85634E #55854E #4E7185
split-complementary
#7E4E85 #71854E #4E8563
monochromatic
#352138 #59375E #7E4E85 #9F69A7 #B890BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E4E85#FFFFFF#000000##FFFFFF
##7E4E851.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)
#485C87
Deuteranopia (green-blind)
#546183
Tritanopia (blue-blind)
#805463
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e4e85;
/* rgb */ color: rgb(126, 78, 133);
/* oklch */ color: oklch(49.9% 0.102 322.3);
Tailwind
colors: {
  custom: {
    50: '#a481a8',
    500: '#7e4e85',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e85;
$custom-light: #a481a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e85",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 292.364,
    "s": 26.066,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.10156,
    "h": 322.3
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#7E4E85
secondary
#89AA84
accent
#C26571
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7E4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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