#7E49AE#7E49AE

#7E49AE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.158 H 305.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7E49AE
RGBrgb(126, 73, 174)
HSLhsl(271, 41%, 48%)
HSVhsv(271, 58%, 68%)
CMYKcmyk(27.6%, 58%, 0%, 31.8%)
CIE-LABlab(41.62, 42.05, -45.57)
CIE-LCHlch(41.62, 62.01, 312.70°)
OKLaboklab(51.46% 0.0926 -0.1285)
OKLCHoklch(51.46% 0.158 305.8)
XYZxyz(18.6251, 12.2568, 41.4208)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49AE #79AE49
analogous
#4B49AE #7E49AE #AE49AB
triadic
#7E49AE #AE7E49 #49AE7E
tetradic
#7E49AE #AE4B49 #79AE49 #49ABAE
square
#7E49AE #AE4B49 #79AE49 #49ABAE
split-complementary
#7E49AE #ABAE49 #49AE4B
monochromatic
#402558 #5F3783 #7E49AE #9C71C3 #BA9CD5

Accessibility & contrast

On white

6.08
#7E49AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7E49AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49AE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49AE#FFFFFF#000000##FFFFFF
##7E49AE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#765C74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e49ae;
/* rgb */ color: rgb(126, 73, 174);
/* oklch */ color: oklch(51.5% 0.158 305.8);
Tailwind
colors: {
  custom: {
    50: '#a67ec7',
    500: '#7e49ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e49ae;
$custom-light: #a67ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49ae",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 271.485,
    "s": 40.891,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.15841,
    "h": 305.8
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#7E49AE
secondary
#A8C291
accent
#D15791
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7E49AE

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

Preview Lab → · Contrast checker → · Palette generator →

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