#7A49EA#7A49EA

#7A49EA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.228 H 291.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7A49EA
RGBrgb(122, 73, 234)
HSLhsl(258, 79%, 60%)
HSVhsv(258, 69%, 92%)
CMYKcmyk(47.9%, 68.8%, 0%, 8.2%)
CIE-LABlab(45.42, 56.72, -74.10)
CIE-LCHlch(45.42, 93.31, 307.43°)
OKLaboklab(55.44% 0.0818 -0.2125)
OKLCHoklch(55.44% 0.228 291.1)
XYZxyz(25.2557, 14.8422, 79.3601)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49EA #B9EA49
analogous
#4968EA #7A49EA #CB49EA
triadic
#7A49EA #EA7A49 #49EA7A
tetradic
#7A49EA #EA4968 #B9EA49 #49EACB
square
#7A49EA #EA4968 #B9EA49 #49EACB
split-complementary
#7A49EA #EACB49 #68EA49
monochromatic
#4013A6 #5519DC #7A49EA #A280F0 #CAB7F7

Accessibility & contrast

On white

5.29
#7A49EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7A49EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49EA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49EA#FFFFFF#000000##FFFFFF
##7A49EA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#567294
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a49ea;
/* rgb */ color: rgb(122, 73, 234);
/* oklch */ color: oklch(55.4% 0.228 291.1);
Tailwind
colors: {
  custom: {
    50: '#a97ff2',
    500: '#7a49ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a49ea;
$custom-light: #a97ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49ea",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 234
  },
  "hsl": {
    "h": 258.261,
    "s": 79.31,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.22768,
    "h": 291.1
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#7A49EA
secondary
#D3E6A9
accent
#DC0A9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A49EA

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

Preview Lab → · Contrast checker → · Palette generator →

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