#7E50A4#7E50A4

#7E50A4 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.9% C 0.135 H 307.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7E50A4
RGBrgb(126, 80, 164)
HSLhsl(273, 34%, 48%)
HSVhsv(273, 51%, 64%)
CMYKcmyk(23.2%, 51.2%, 0%, 35.7%)
CIE-LABlab(42.54, 35.71, -38.18)
CIE-LCHlch(42.54, 52.27, 313.09°)
OKLaboklab(51.95% 0.0825 -0.1069)
OKLCHoklch(51.95% 0.135 307.6)
XYZxyz(18.1724, 12.8535, 36.6384)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50A4 #76A450
analogous
#5450A4 #7E50A4 #A450A0
triadic
#7E50A4 #A47E50 #50A47E
tetradic
#7E50A4 #A45450 #76A450 #50A0A4
square
#7E50A4 #A45450 #76A450 #50A0A4
split-complementary
#7E50A4 #A0A450 #50A454
monochromatic
#3F2852 #5E3C7B #7E50A4 #9C75BC #BA9ED0

Accessibility & contrast

On white

5.88
#7E50A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E50A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50A4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50A4#FFFFFF#000000##FFFFFF
##7E50A41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A7
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#785E72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e50a4;
/* rgb */ color: rgb(126, 80, 164);
/* oklch */ color: oklch(51.9% 0.135 307.6);
Tailwind
colors: {
  custom: {
    50: '#a582bf',
    500: '#7e50a4',
    950: '#000000',
  },
}
SCSS
$custom: #7e50a4;
$custom-light: #a582bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50a4",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 272.857,
    "s": 34.426,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.13504,
    "h": 307.6
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#7E50A4
secondary
#A6BD93
accent
#CB5D8F
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7E50A4

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

Preview Lab → · Contrast checker → · Palette generator →

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