#7E49BD#7E49BD

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

Color values

HEX#7E49BD
RGBrgb(126, 73, 189)
HSLhsl(267, 47%, 51%)
HSVhsv(267, 61%, 74%)
CMYKcmyk(33.3%, 61.4%, 0%, 25.9%)
CIE-LABlab(42.57, 45.76, -52.85)
CIE-LCHlch(42.57, 69.91, 310.89°)
OKLaboklab(52.46% 0.0924 -0.1499)
OKLCHoklch(52.46% 0.176 301.6)
XYZxyz(20.1699, 12.8748, 49.5567)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49BD #88BD49
analogous
#494EBD #7E49BD #B849BD
triadic
#7E49BD #BD7E49 #49BD7E
tetradic
#7E49BD #BD494E #88BD49 #49BDB8
square
#7E49BD #BD494E #88BD49 #49BDB8
split-complementary
#7E49BD #BDB849 #4EBD49
monochromatic
#432566 #603593 #7E49BD #9E76CD #BEA3DE

Accessibility & contrast

On white

5.87
#7E49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E49BD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49BD#FFFFFF#000000##FFFFFF
##7E49BD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#71617C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e49bd;
/* rgb */ color: rgb(126, 73, 189);
/* oklch */ color: oklch(52.5% 0.176 301.6);
Tailwind
colors: {
  custom: {
    50: '#a77ed2',
    500: '#7e49bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e49bd;
$custom-light: #a77ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49bd",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 267.414,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.17608,
    "h": 301.6
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#7E49BD
secondary
#B3CA97
accent
#D6519A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7E49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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