#7A49CA#7A49CA

#7A49CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.191 H 296.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7A49CA
RGBrgb(122, 73, 202)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 64%, 79%)
CMYKcmyk(39.6%, 63.9%, 0%, 20.8%)
CIE-LABlab(43.01, 48.22, -59.72)
CIE-LCHlch(43.01, 76.76, 308.92°)
OKLaboklab(52.96% 0.0861 -0.1702)
OKLCHoklch(52.96% 0.191 296.8)
XYZxyz(21.0665, 13.1666, 57.2972)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49CA #99CA49
analogous
#4959CA #7A49CA #BB49CA
triadic
#7A49CA #CA7A49 #49CA7A
tetradic
#7A49CA #CA4959 #99CA49 #49CABB
square
#7A49CA #CA4959 #99CA49 #49CABB
split-complementary
#7A49CA #CABB49 #59CA49
monochromatic
#422276 #5D30A6 #7A49CA #9D78D8 #BFA8E6

Accessibility & contrast

On white

5.78
#7A49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7A49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49CA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49CA#FFFFFF#000000##FFFFFF
##7A49CA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#666683
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a49ca;
/* rgb */ color: rgb(122, 73, 202);
/* oklch */ color: oklch(53.0% 0.191 296.8);
Tailwind
colors: {
  custom: {
    50: '#a67edb',
    500: '#7a49ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a49ca;
$custom-light: #a67edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49ca",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 262.791,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.19077,
    "h": 296.8
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#7A49CA
secondary
#BED39C
accent
#DE4AA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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