#7E49D5#7E49D5

#7E49D5 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.204 H 296.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7E49D5
RGBrgb(126, 73, 213)
HSLhsl(263, 63%, 56%)
HSVhsv(263, 66%, 84%)
CMYKcmyk(40.8%, 65.7%, 0%, 16.5%)
CIE-LABlab(44.24, 51.90, -64.05)
CIE-LCHlch(44.24, 82.44, 309.02°)
OKLaboklab(54.19% 0.0904 -0.1828)
OKLCHoklch(54.19% 0.204 296.3)
XYZxyz(22.9938, 14.0043, 64.4295)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49D5 #A0D549
analogous
#495AD5 #7E49D5 #C449D5
triadic
#7E49D5 #D57E49 #49D57E
tetradic
#7E49D5 #D5495A #A0D549 #49D5C4
square
#7E49D5 #D5495A #A0D549 #49D5C4
split-complementary
#7E49D5 #D5C449 #5AD549
monochromatic
#451F85 #5F2AB7 #7E49D5 #A17BE0 #C4ACEC

Accessibility & contrast

On white

5.52
#7E49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7E49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49D5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49D5#FFFFFF#000000##FFFFFF
##7E49D51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#686A89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e49d5;
/* rgb */ color: rgb(126, 73, 213);
/* oklch */ color: oklch(54.2% 0.204 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa7fe3',
    500: '#7e49d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e49d5;
$custom-light: #aa7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49d5",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 262.714,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.20394,
    "h": 296.3
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#7E49D5
secondary
#C4DAA0
accent
#E642A8
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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