#7E49D8#7E49D8

#7E49D8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.207 H 295.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E49D8
RGBrgb(126, 73, 216)
HSLhsl(262, 65%, 57%)
HSVhsv(262, 66%, 85%)
CMYKcmyk(41.7%, 66.2%, 0%, 15.3%)
CIE-LABlab(44.46, 52.68, -65.41)
CIE-LCHlch(44.46, 83.98, 308.85°)
OKLaboklab(54.42% 0.09 -0.1868)
OKLCHoklch(54.42% 0.207 295.7)
XYZxyz(23.3781, 14.1581, 66.4535)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49D8 #A3D849
analogous
#495CD8 #7E49D8 #C649D8
triadic
#7E49D8 #D87E49 #49D87E
tetradic
#7E49D8 #D8495C #A3D849 #49D8C6
square
#7E49D8 #D8495C #A3D849 #49D8C6
split-complementary
#7E49D8 #D8C649 #5CD849
monochromatic
#451D89 #5F28BC #7E49D8 #A27BE3 #C5AEEE

Accessibility & contrast

On white

5.48
#7E49D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7E49D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49D8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49D8#FFFFFF#000000##FFFFFF
##7E49D81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#666B8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e49d8;
/* rgb */ color: rgb(126, 73, 216);
/* oklch */ color: oklch(54.4% 0.207 295.7);
Tailwind
colors: {
  custom: {
    50: '#aa7fe5',
    500: '#7e49d8',
    950: '#000000',
  },
}
SCSS
$custom: #7e49d8;
$custom-light: #aa7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49d8",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 262.238,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.20737,
    "h": 295.7
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#7E49D8
secondary
#C6DCA1
accent
#E840AA
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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