#7E49D9#7E49D9

#7E49D9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.209 H 295.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E49D9
RGBrgb(126, 73, 217)
HSLhsl(262, 65%, 57%)
HSVhsv(262, 66%, 85%)
CMYKcmyk(41.9%, 66.4%, 0%, 14.9%)
CIE-LABlab(44.53, 52.94, -65.86)
CIE-LCHlch(44.53, 84.50, 308.79°)
OKLaboklab(54.49% 0.0899 -0.1881)
OKLCHoklch(54.49% 0.209 295.5)
XYZxyz(23.5078, 14.2099, 67.1364)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49D9 #A4D949
analogous
#495CD9 #7E49D9 #C649D9
triadic
#7E49D9 #D97E49 #49D97E
tetradic
#7E49D9 #D9495C #A4D949 #49D9C6
square
#7E49D9 #D9495C #A4D949 #49D9C6
split-complementary
#7E49D9 #D9C649 #5CD949
monochromatic
#451D8B #5F28BD #7E49D9 #A27CE4 #C6AEEE

Accessibility & contrast

On white

5.47
#7E49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7E49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49D9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49D9#FFFFFF#000000##FFFFFF
##7E49D91.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#666B8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e49d9;
/* rgb */ color: rgb(126, 73, 217);
/* oklch */ color: oklch(54.5% 0.209 295.5);
Tailwind
colors: {
  custom: {
    50: '#aa7fe6',
    500: '#7e49d9',
    950: '#000000',
  },
}
SCSS
$custom: #7e49d9;
$custom-light: #aa7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49d9",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 262.083,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.20852,
    "h": 295.5
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#7E49D9
secondary
#C7DCA2
accent
#E83FAA
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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