#7A49BF#7A49BF

#7A49BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.178 H 299.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7A49BF
RGBrgb(122, 73, 191)
HSLhsl(265, 48%, 52%)
HSVhsv(265, 62%, 75%)
CMYKcmyk(36.1%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.25, 45.36, -54.56)
CIE-LCHlch(42.25, 70.96, 309.74°)
OKLaboklab(52.16% 0.0869 -0.155)
OKLCHoklch(52.16% 0.178 299.3)
XYZxyz(19.8102, 12.6640, 50.6808)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49BF #8EBF49
analogous
#4953BF #7A49BF #B549BF
triadic
#7A49BF #BF7A49 #49BF7A
tetradic
#7A49BF #BF4953 #8EBF49 #49BFB5
square
#7A49BF #BF4953 #8EBF49 #49BFB5
split-complementary
#7A49BF #BFB549 #53BF49
monochromatic
#412569 #5D3596 #7A49BF #9B76CF #BCA4DF

Accessibility & contrast

On white

5.94
#7A49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7A49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49BF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49BF#FFFFFF#000000##FFFFFF
##7A49BF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1A63BC
Tritanopia (blue-blind)
#6B637D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a49bf;
/* rgb */ color: rgb(122, 73, 191);
/* oklch */ color: oklch(52.2% 0.178 299.3);
Tailwind
colors: {
  custom: {
    50: '#a57ed3',
    500: '#7a49bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a49bf;
$custom-light: #a57ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49bf",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 264.915,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.17775,
    "h": 299.3
  },
  "luminance": 0.12664
}

Semantic roles & 50–950 ramp

primary
#7A49BF
secondary
#B6CC98
accent
#D8509F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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