#7A3490#7A3490

#7A3490 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.156 H 317.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7A3490
RGBrgb(122, 52, 144)
HSLhsl(286, 47%, 38%)
HSVhsv(286, 64%, 56%)
CMYKcmyk(15.3%, 63.9%, 0%, 43.5%)
CIE-LABlab(35.22, 45.09, -37.79)
CIE-LCHlch(35.22, 58.83, 320.03°)
OKLaboklab(46.09% 0.1144 -0.1058)
OKLCHoklch(46.09% 0.156 317.2)
XYZxyz(14.2873, 8.6077, 27.2890)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3490 #4A9034
analogous
#4C3490 #7A3490 #903478
triadic
#7A3490 #907A34 #34907A
tetradic
#7A3490 #904C34 #4A9034 #347890
square
#7A3490 #904C34 #4A9034 #347890
split-complementary
#7A3490 #789034 #34904C
monochromatic
#2E1436 #542463 #7A3490 #A045BC #B772CC

Accessibility & contrast

On white

7.72
#7A3490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7A3490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3490
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3490#FFFFFF#000000##FFFFFF
##7A34901.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E93
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#79445D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a3490;
/* rgb */ color: rgb(122, 52, 144);
/* oklch */ color: oklch(46.1% 0.156 317.2);
Tailwind
colors: {
  custom: {
    50: '#a370b1',
    500: '#7a3490',
    950: '#000000',
  },
}
SCSS
$custom: #7a3490;
$custom-light: #a370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3490",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 285.652,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.15582,
    "h": 317.2
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#7A3490
secondary
#7DB46B
accent
#D75171
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3490

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

Preview Lab → · Contrast checker → · Palette generator →

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