#7E49BF#7E49BF

#7E49BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.178 H 301.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7E49BF
RGBrgb(126, 73, 191)
HSLhsl(267, 48%, 52%)
HSVhsv(267, 62%, 75%)
CMYKcmyk(34%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.71, 46.26, -53.81)
CIE-LCHlch(42.71, 70.96, 310.69°)
OKLaboklab(52.6% 0.0923 -0.1527)
OKLCHoklch(52.6% 0.178 301.2)
XYZxyz(20.3885, 12.9622, 50.7079)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49BF #8ABF49
analogous
#494FBF #7E49BF #B949BF
triadic
#7E49BF #BF7E49 #49BF7E
tetradic
#7E49BF #BF494F #8ABF49 #49BFB9
square
#7E49BF #BF494F #8ABF49 #49BFB9
split-complementary
#7E49BF #BFB949 #4FBF49
monochromatic
#432569 #603596 #7E49BF #9E76CF #BEA4DF

Accessibility & contrast

On white

5.85
#7E49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7E49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49BF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49BF#FFFFFF#000000##FFFFFF
##7E49BF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#71627D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e49bf;
/* rgb */ color: rgb(126, 73, 191);
/* oklch */ color: oklch(52.6% 0.178 301.2);
Tailwind
colors: {
  custom: {
    50: '#a87ed3',
    500: '#7e49bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e49bf;
$custom-light: #a87ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49bf",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 266.949,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.17843,
    "h": 301.2
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#7E49BF
secondary
#B5CC98
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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