#7E49AF#7E49AF

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

Color values

HEX#7E49AF
RGBrgb(126, 73, 175)
HSLhsl(271, 41%, 49%)
HSVhsv(271, 58%, 69%)
CMYKcmyk(28%, 58.3%, 0%, 31.4%)
CIE-LABlab(41.68, 42.29, -46.06)
CIE-LCHlch(41.68, 62.53, 312.56°)
OKLaboklab(51.52% 0.0926 -0.13)
OKLCHoklch(51.52% 0.16 305.5)
XYZxyz(18.7229, 12.2960, 41.9361)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49AF #7AAF49
analogous
#4B49AF #7E49AF #AF49AD
triadic
#7E49AF #AF7E49 #49AF7E
tetradic
#7E49AF #AF4B49 #7AAF49 #49ADAF
square
#7E49AF #AF4B49 #7AAF49 #49ADAF
split-complementary
#7E49AF #ADAF49 #49AF4B
monochromatic
#402559 #5F3784 #7E49AF #9C71C4 #BA9CD6

Accessibility & contrast

On white

6.07
#7E49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7E49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49AF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49AF#FFFFFF#000000##FFFFFF
##7E49AF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#765D75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e49af;
/* rgb */ color: rgb(126, 73, 175);
/* oklch */ color: oklch(51.5% 0.160 305.5);
Tailwind
colors: {
  custom: {
    50: '#a67ec7',
    500: '#7e49af',
    950: '#000000',
  },
}
SCSS
$custom: #7e49af;
$custom-light: #a67ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49af",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 271.176,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.15959,
    "h": 305.5
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#7E49AF
secondary
#A9C291
accent
#D15792
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7E49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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