#7A3392#7A3392

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

Color values

HEX#7A3392
RGBrgb(122, 51, 146)
HSLhsl(285, 48%, 39%)
HSVhsv(285, 65%, 57%)
CMYKcmyk(16.4%, 65.1%, 0%, 42.7%)
CIE-LABlab(35.16, 46.00, -39.10)
CIE-LCHlch(35.16, 60.37, 319.63°)
OKLaboklab(46.09% 0.1157 -0.1096)
OKLCHoklch(46.09% 0.159 316.5)
XYZxyz(14.3974, 8.5811, 28.0865)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3392 #4B9233
analogous
#4A3392 #7A3392 #92337A
triadic
#7A3392 #927A33 #33927A
tetradic
#7A3392 #924A33 #4B9233 #337A92
square
#7A3392 #924A33 #4B9233 #337A92
split-complementary
#7A3392 #7A9233 #33924A
monochromatic
#2E1337 #542365 #7A3392 #9F44BE #B672CE

Accessibility & contrast

On white

7.73
#7A3392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A3392
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3392#FFFFFF#000000##FFFFFF
##7A33921.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E95
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#79445E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a3392;
/* rgb */ color: rgb(122, 51, 146);
/* oklch */ color: oklch(46.1% 0.159 316.5);
Tailwind
colors: {
  custom: {
    50: '#a370b2',
    500: '#7a3392',
    950: '#000000',
  },
}
SCSS
$custom: #7a3392;
$custom-light: #a370b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3392",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 284.842,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46093,
    "c": 0.15934,
    "h": 316.5
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#7A3392
secondary
#7EB66B
accent
#D85072
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3392

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

Preview Lab → · Contrast checker → · Palette generator →

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