#7A49BD#7A49BD

#7A49BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.175 H 299.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7A49BD
RGBrgb(122, 73, 189)
HSLhsl(265, 47%, 51%)
HSVhsv(265, 61%, 74%)
CMYKcmyk(35.4%, 61.4%, 0%, 25.9%)
CIE-LABlab(42.12, 44.85, -53.61)
CIE-LCHlch(42.12, 69.90, 309.91°)
OKLaboklab(52.03% 0.087 -0.1522)
OKLCHoklch(52.03% 0.175 299.8)
XYZxyz(19.5916, 12.5766, 49.5296)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49BD #8CBD49
analogous
#4952BD #7A49BD #B449BD
triadic
#7A49BD #BD7A49 #49BD7A
tetradic
#7A49BD #BD4952 #8CBD49 #49BDB4
square
#7A49BD #BD4952 #8CBD49 #49BDB4
split-complementary
#7A49BD #BDB449 #52BD49
monochromatic
#412566 #5D3593 #7A49BD #9B76CD #BCA3DE

Accessibility & contrast

On white

5.97
#7A49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A49BD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49BD#FFFFFF#000000##FFFFFF
##7A49BD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#6B627C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a49bd;
/* rgb */ color: rgb(122, 73, 189);
/* oklch */ color: oklch(52.0% 0.175 299.8);
Tailwind
colors: {
  custom: {
    50: '#a57ed2',
    500: '#7a49bd',
    950: '#000000',
  },
}
SCSS
$custom: #7a49bd;
$custom-light: #a57ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49bd",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 265.345,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.17536,
    "h": 299.8
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#7A49BD
secondary
#B5CA97
accent
#D6519E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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