#7E49E4#7E49E4

#7E49E4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.221 H 293.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7E49E4
RGBrgb(126, 73, 228)
HSLhsl(261, 74%, 59%)
HSVhsv(261, 68%, 89%)
CMYKcmyk(44.7%, 68%, 0%, 10.6%)
CIE-LABlab(45.36, 55.81, -70.78)
CIE-LCHlch(45.36, 90.14, 308.26°)
OKLaboklab(55.35% 0.0883 -0.2026)
OKLCHoklch(55.35% 0.221 293.6)
XYZxyz(24.9865, 14.8014, 74.9242)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49E4 #AFE449
analogous
#4962E4 #7E49E4 #CC49E4
triadic
#7E49E4 #E47E49 #49E47E
tetradic
#7E49E4 #E44962 #AFE449 #49E4CC
square
#7E49E4 #E44962 #AFE449 #49E4CC
split-complementary
#7E49E4 #E4CC49 #62E449
monochromatic
#44179C #5C1FD1 #7E49E4 #A47EEC #CAB4F4

Accessibility & contrast

On white

5.30
#7E49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7E49E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49E4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49E4#FFFFFF#000000##FFFFFF
##7E49E41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#606F91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e49e4;
/* rgb */ color: rgb(126, 73, 228);
/* oklch */ color: oklch(55.3% 0.221 293.6);
Tailwind
colors: {
  custom: {
    50: '#ab7fee',
    500: '#7e49e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e49e4;
$custom-light: #ab7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49e4",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 260.516,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.22099,
    "h": 293.6
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#7E49E4
secondary
#CEE3A6
accent
#F137B1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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