#7A49D9#7A49D9

#7A49D9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.208 H 293.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7A49D9
RGBrgb(122, 73, 217)
HSLhsl(260, 65%, 57%)
HSVhsv(260, 66%, 85%)
CMYKcmyk(43.8%, 66.4%, 0%, 14.9%)
CIE-LABlab(44.11, 52.18, -66.57)
CIE-LCHlch(44.11, 84.59, 308.09°)
OKLaboklab(54.09% 0.0844 -0.1904)
OKLCHoklch(54.09% 0.208 293.9)
XYZxyz(22.9296, 13.9118, 67.1093)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49D9 #A8D949
analogous
#4960D9 #7A49D9 #C249D9
triadic
#7A49D9 #D97A49 #49D97A
tetradic
#7A49D9 #D94960 #A8D949 #49D9C2
square
#7A49D9 #D94960 #A8D949 #49D9C2
split-complementary
#7A49D9 #D9C249 #60D949
monochromatic
#421D8B #5A28BD #7A49D9 #9F7CE4 #C4AEEE

Accessibility & contrast

On white

5.55
#7A49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7A49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49D9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49D9#FFFFFF#000000##FFFFFF
##7A49D91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#5F6C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a49d9;
/* rgb */ color: rgb(122, 73, 217);
/* oklch */ color: oklch(54.1% 0.208 293.9);
Tailwind
colors: {
  custom: {
    50: '#a87fe6',
    500: '#7a49d9',
    950: '#000000',
  },
}
SCSS
$custom: #7a49d9;
$custom-light: #a87fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49d9",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 260.417,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.20824,
    "h": 293.9
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#7A49D9
secondary
#C8DCA2
accent
#E83FAF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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