#7E49D2#7E49D2

#7E49D2 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.200 H 296.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7E49D2
RGBrgb(126, 73, 210)
HSLhsl(263, 60%, 55%)
HSVhsv(263, 65%, 82%)
CMYKcmyk(40%, 65.2%, 0%, 17.6%)
CIE-LABlab(44.02, 51.12, -62.68)
CIE-LCHlch(44.02, 80.88, 309.20°)
OKLaboklab(53.97% 0.0907 -0.1788)
OKLCHoklch(53.97% 0.2 296.9)
XYZxyz(22.6166, 13.8534, 62.4427)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49D2 #9DD249
analogous
#4958D2 #7E49D2 #C349D2
triadic
#7E49D2 #D27E49 #49D27E
tetradic
#7E49D2 #D24958 #9DD249 #49D2C3
square
#7E49D2 #D24958 #9DD249 #49D2C3
split-complementary
#7E49D2 #D2C349 #58D249
monochromatic
#452081 #602CB2 #7E49D2 #A17ADE #C4ABEA

Accessibility & contrast

On white

5.57
#7E49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7E49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49D2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49D2#FFFFFF#000000##FFFFFF
##7E49D21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#696987
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e49d2;
/* rgb */ color: rgb(126, 73, 210);
/* oklch */ color: oklch(54.0% 0.200 296.9);
Tailwind
colors: {
  custom: {
    50: '#a97fe1',
    500: '#7e49d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e49d2;
$custom-light: #a97fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49d2",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 263.212,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.20049,
    "h": 296.9
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#7E49D2
secondary
#C2D89F
accent
#E344A6
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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