#7A49E9#7A49E9

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

Color values

HEX#7A49E9
RGBrgb(122, 73, 233)
HSLhsl(258, 78%, 60%)
HSVhsv(258, 69%, 91%)
CMYKcmyk(47.6%, 68.7%, 0%, 8.6%)
CIE-LABlab(45.34, 56.45, -73.66)
CIE-LCHlch(45.34, 92.80, 307.46°)
OKLaboklab(55.36% 0.082 -0.2112)
OKLCHoklch(55.36% 0.227 291.2)
XYZxyz(25.1124, 14.7849, 78.6056)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49E9 #B8E949
analogous
#4968E9 #7A49E9 #CA49E9
triadic
#7A49E9 #E97A49 #49E97A
tetradic
#7A49E9 #E94968 #B8E949 #49E9CA
square
#7A49E9 #E94968 #B8E949 #49E9CA
split-complementary
#7A49E9 #E9CA49 #68E949
monochromatic
#4014A4 #551ADA #7A49E9 #A280F0 #CAB6F6

Accessibility & contrast

On white

5.31
#7A49E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7A49E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49E9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49E9#FFFFFF#000000##FFFFFF
##7A49E91.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a49e9;
/* rgb */ color: rgb(122, 73, 233);
/* oklch */ color: oklch(55.4% 0.227 291.2);
Tailwind
colors: {
  custom: {
    50: '#a97ff1',
    500: '#7a49e9',
    950: '#000000',
  },
}
SCSS
$custom: #7a49e9;
$custom-light: #a97ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49e9",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 233
  },
  "hsl": {
    "h": 258.375,
    "s": 78.431,
    "l": 60
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.22654,
    "h": 291.2
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#7A49E9
secondary
#D3E6A8
accent
#F533B9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A49E9

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

Preview Lab → · Contrast checker → · Palette generator →

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