#7A49E4#7A49E4

#7A49E4 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.221 H 292.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A49E4
RGBrgb(122, 73, 228)
HSLhsl(259, 74%, 59%)
HSVhsv(259, 68%, 89%)
CMYKcmyk(46.5%, 68%, 0%, 10.6%)
CIE-LABlab(44.95, 55.11, -71.47)
CIE-LCHlch(44.95, 90.25, 307.64°)
OKLaboklab(54.95% 0.0828 -0.2047)
OKLCHoklch(54.95% 0.221 292)
XYZxyz(24.4083, 14.5033, 74.8971)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49E4 #B3E449
analogous
#4966E4 #7A49E4 #C849E4
triadic
#7A49E4 #E47A49 #49E47A
tetradic
#7A49E4 #E44966 #B3E449 #49E4C8
square
#7A49E4 #E44966 #B3E449 #49E4C8
split-complementary
#7A49E4 #E4C849 #66E449
monochromatic
#41179C #571FD1 #7A49E4 #A17EEC #C8B4F4

Accessibility & contrast

On white

5.38
#7A49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7A49E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49E4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49E4#FFFFFF#000000##FFFFFF
##7A49E41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#597091
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a49e4;
/* rgb */ color: rgb(122, 73, 228);
/* oklch */ color: oklch(55.0% 0.221 292.0);
Tailwind
colors: {
  custom: {
    50: '#a97fee',
    500: '#7a49e4',
    950: '#000000',
  },
}
SCSS
$custom: #7a49e4;
$custom-light: #a97fee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49e4",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 258.968,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.22086,
    "h": 292
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#7A49E4
secondary
#D0E3A6
accent
#F137B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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