#7E73A5#7E73A5

#7E73A5 is a mid, moderate violet. Relative luminance 0.194; OKLCH L 58.5% C 0.076 H 294.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E73A5
RGBrgb(126, 115, 165)
HSLhsl(253, 22%, 55%)
HSVhsv(253, 30%, 65%)
CMYKcmyk(23.6%, 30.3%, 0%, 35.3%)
CIE-LABlab(51.17, 15.25, -25.26)
CIE-LCHlch(51.17, 29.50, 301.13°)
OKLaboklab(58.49% 0.0311 -0.0698)
OKLCHoklch(58.49% 0.076 294)
XYZxyz(21.5249, 19.4135, 38.2032)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73A5 #9AA573
analogous
#7381A5 #7E73A5 #9773A5
triadic
#7E73A5 #A57E73 #73A57E
tetradic
#7E73A5 #A57381 #9AA573 #73A597
square
#7E73A5 #A57381 #9AA573 #73A597
split-complementary
#7E73A5 #A59773 #81A573
monochromatic
#453E60 #605685 #7E73A5 #A098BD #C3BED5

Accessibility & contrast

On white

4.30
#7E73A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7E73A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73A5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73A5#FFFFFF#000000##000000
##7E73A51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677AA7
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#767B85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e73a5;
/* rgb */ color: rgb(126, 115, 165);
/* oklch */ color: oklch(58.5% 0.076 294.0);
Tailwind
colors: {
  custom: {
    50: '#a49bc0',
    500: '#7e73a5',
    950: '#000000',
  },
}
SCSS
$custom: #7e73a5;
$custom-light: #a49bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73a5",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 165
  },
  "hsl": {
    "h": 253.2,
    "s": 21.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58491,
    "c": 0.07635,
    "h": 294
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#7E73A5
secondary
#C0C4AF
accent
#BE6AAC
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7E73A5

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

Preview Lab → · Contrast checker → · Palette generator →

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