#7E73A3#7E73A3

#7E73A3 is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.4% C 0.073 H 294.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E73A3
RGBrgb(126, 115, 163)
HSLhsl(254, 21%, 55%)
HSVhsv(254, 29%, 64%)
CMYKcmyk(22.7%, 29.4%, 0%, 36.1%)
CIE-LABlab(51.08, 14.76, -24.22)
CIE-LCHlch(51.08, 28.36, 301.36°)
OKLaboklab(58.4% 0.0305 -0.0668)
OKLCHoklch(58.4% 0.073 294.5)
XYZxyz(21.3443, 19.3412, 37.2520)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73A3 #98A373
analogous
#7380A3 #7E73A3 #9673A3
triadic
#7E73A3 #A37E73 #73A37E
tetradic
#7E73A3 #A37380 #98A373 #73A396
square
#7E73A3 #A37380 #98A373 #73A396
split-complementary
#7E73A3 #A39673 #80A373
monochromatic
#453E5E #605683 #7E73A3 #A098BB #C2BDD4

Accessibility & contrast

On white

4.31
#7E73A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7E73A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73A3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73A3#FFFFFF#000000##000000
##7E73A31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA5
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#777B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e73a3;
/* rgb */ color: rgb(126, 115, 163);
/* oklch */ color: oklch(58.4% 0.073 294.5);
Tailwind
colors: {
  custom: {
    50: '#a49bbe',
    500: '#7e73a3',
    950: '#000000',
  },
}
SCSS
$custom: #7e73a3;
$custom-light: #a49bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73a3",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 163
  },
  "hsl": {
    "h": 253.75,
    "s": 20.69,
    "l": 54.51
  },
  "oklch": {
    "l": 0.584,
    "c": 0.07343,
    "h": 294.5
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#7E73A3
secondary
#BEC3AF
accent
#BD6BAA
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7E73A3

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

Preview Lab → · Contrast checker → · Palette generator →

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