#7E49D4#7E49D4

#7E49D4 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.203 H 296.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7E49D4
RGBrgb(126, 73, 212)
HSLhsl(263, 62%, 56%)
HSVhsv(263, 66%, 83%)
CMYKcmyk(40.6%, 65.6%, 0%, 16.9%)
CIE-LABlab(44.17, 51.64, -63.59)
CIE-LCHlch(44.17, 81.92, 309.08°)
OKLaboklab(54.12% 0.0905 -0.1815)
OKLCHoklch(54.12% 0.203 296.5)
XYZxyz(22.8673, 13.9537, 63.7631)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49D4 #9FD449
analogous
#4959D4 #7E49D4 #C449D4
triadic
#7E49D4 #D47E49 #49D47E
tetradic
#7E49D4 #D44959 #9FD449 #49D4C4
square
#7E49D4 #D44959 #9FD449 #49D4C4
split-complementary
#7E49D4 #D4C449 #59D449
monochromatic
#451F84 #5F2BB5 #7E49D4 #A17BE0 #C4ACEB

Accessibility & contrast

On white

5.54
#7E49D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7E49D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49D4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49D4#FFFFFF#000000##FFFFFF
##7E49D41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#686A88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e49d4;
/* rgb */ color: rgb(126, 73, 212);
/* oklch */ color: oklch(54.1% 0.203 296.5);
Tailwind
colors: {
  custom: {
    50: '#aa7fe2',
    500: '#7e49d4',
    950: '#000000',
  },
}
SCSS
$custom: #7e49d4;
$custom-light: #aa7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49d4",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 262.878,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.20279,
    "h": 296.5
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#7E49D4
secondary
#C3D9A0
accent
#E543A7
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7E49D4

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

Preview Lab → · Contrast checker → · Palette generator →

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