#7E49DC#7E49DC

#7E49DC is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.212 H 295.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7E49DC
RGBrgb(126, 73, 220)
HSLhsl(262, 68%, 57%)
HSVhsv(262, 67%, 86%)
CMYKcmyk(42.7%, 66.8%, 0%, 13.7%)
CIE-LABlab(44.76, 53.72, -67.21)
CIE-LCHlch(44.76, 86.04, 308.63°)
OKLaboklab(54.72% 0.0895 -0.1921)
OKLCHoklch(54.72% 0.212 295)
XYZxyz(23.9015, 14.3674, 69.2102)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49DC #A7DC49
analogous
#495DDC #7E49DC #C849DC
triadic
#7E49DC #DC7E49 #49DC7E
tetradic
#7E49DC #DC495D #A7DC49 #49DCC8
square
#7E49DC #DC495D #A7DC49 #49DCC8
split-complementary
#7E49DC #DCC849 #5DDC49
monochromatic
#451C8F #5E25C2 #7E49DC #A27CE6 #C7B0F0

Accessibility & contrast

On white

5.42
#7E49DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7E49DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49DC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49DC#FFFFFF#000000##FFFFFF
##7E49DC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#656C8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e49dc;
/* rgb */ color: rgb(126, 73, 220);
/* oklch */ color: oklch(54.7% 0.212 295.0);
Tailwind
colors: {
  custom: {
    50: '#aa7fe8',
    500: '#7e49dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e49dc;
$custom-light: #aa7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49dc",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 261.633,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54724,
    "c": 0.21193,
    "h": 295
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#7E49DC
secondary
#C9DEA3
accent
#EB3DAC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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