#7A49E6#7A49E6

#7A49E6 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.223 H 291.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A49E6
RGBrgb(122, 73, 230)
HSLhsl(259, 76%, 59%)
HSVhsv(259, 68%, 90%)
CMYKcmyk(47%, 68.3%, 0%, 9.8%)
CIE-LABlab(45.10, 55.65, -72.35)
CIE-LCHlch(45.10, 91.27, 307.57°)
OKLaboklab(55.11% 0.0825 -0.2073)
OKLCHoklch(55.11% 0.223 291.7)
XYZxyz(24.6875, 14.6150, 76.3678)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49E6 #B5E649
analogous
#4967E6 #7A49E6 #C849E6
triadic
#7A49E6 #E67A49 #49E67A
tetradic
#7A49E6 #E64967 #B5E649 #49E6C8
square
#7A49E6 #E64967 #B5E649 #49E6C8
split-complementary
#7A49E6 #E6C849 #67E649
monochromatic
#41169F #561DD5 #7A49E6 #A17FED #C9B5F5

Accessibility & contrast

On white

5.35
#7A49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7A49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49E6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49E6#FFFFFF#000000##FFFFFF
##7A49E61.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#587092
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a49e6;
/* rgb */ color: rgb(122, 73, 230);
/* oklch */ color: oklch(55.1% 0.223 291.7);
Tailwind
colors: {
  custom: {
    50: '#a97fef',
    500: '#7a49e6',
    950: '#000000',
  },
}
SCSS
$custom: #7a49e6;
$custom-light: #a97fef;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49e6",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 258.726,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.22314,
    "h": 291.7
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#7A49E6
secondary
#D1E4A7
accent
#F235B7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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