#7E49BE#7E49BE

#7E49BE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.177 H 301.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7E49BE
RGBrgb(126, 73, 190)
HSLhsl(267, 47%, 52%)
HSVhsv(267, 62%, 75%)
CMYKcmyk(33.7%, 61.6%, 0%, 25.5%)
CIE-LABlab(42.64, 46.01, -53.33)
CIE-LCHlch(42.64, 70.44, 310.79°)
OKLaboklab(52.53% 0.0923 -0.1513)
OKLCHoklch(52.53% 0.177 301.4)
XYZxyz(20.2788, 12.9183, 50.1303)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49BE #89BE49
analogous
#494FBE #7E49BE #B849BE
triadic
#7E49BE #BE7E49 #49BE7E
tetradic
#7E49BE #BE494F #89BE49 #49BEB8
square
#7E49BE #BE494F #89BE49 #49BEB8
split-complementary
#7E49BE #BEB849 #4FBE49
monochromatic
#432568 #603595 #7E49BE #9E76CE #BEA3DE

Accessibility & contrast

On white

5.86
#7E49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7E49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49BE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49BE#FFFFFF#000000##FFFFFF
##7E49BE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#71627D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e49be;
/* rgb */ color: rgb(126, 73, 190);
/* oklch */ color: oklch(52.5% 0.177 301.4);
Tailwind
colors: {
  custom: {
    50: '#a87ed2',
    500: '#7e49be',
    950: '#000000',
  },
}
SCSS
$custom: #7e49be;
$custom-light: #a87ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49be",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 267.179,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52528,
    "c": 0.17725,
    "h": 301.4
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#7E49BE
secondary
#B4CB98
accent
#D7519A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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