#7A49BE#7A49BE

#7A49BE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.177 H 299.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7A49BE
RGBrgb(122, 73, 190)
HSLhsl(265, 47%, 52%)
HSVhsv(265, 62%, 75%)
CMYKcmyk(35.8%, 61.6%, 0%, 25.5%)
CIE-LABlab(42.19, 45.10, -54.09)
CIE-LCHlch(42.19, 70.43, 309.83°)
OKLaboklab(52.1% 0.087 -0.1536)
OKLCHoklch(52.1% 0.177 299.5)
XYZxyz(19.7006, 12.6202, 50.1032)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49BE #8DBE49
analogous
#4953BE #7A49BE #B449BE
triadic
#7A49BE #BE7A49 #49BE7A
tetradic
#7A49BE #BE4953 #8DBE49 #49BEB4
square
#7A49BE #BE4953 #8DBE49 #49BEB4
split-complementary
#7A49BE #BEB449 #53BE49
monochromatic
#412568 #5D3595 #7A49BE #9B76CE #BCA3DE

Accessibility & contrast

On white

5.96
#7A49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7A49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49BE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49BE#FFFFFF#000000##FFFFFF
##7A49BE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#1C63BB
Tritanopia (blue-blind)
#6B627D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a49be;
/* rgb */ color: rgb(122, 73, 190);
/* oklch */ color: oklch(52.1% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#a57ed2',
    500: '#7a49be',
    950: '#000000',
  },
}
SCSS
$custom: #7a49be;
$custom-light: #a57ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49be",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 265.128,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.17656,
    "h": 299.5
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#7A49BE
secondary
#B6CB98
accent
#D7519F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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