#7A3293#7A3293

#7A3293 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.162 H 316.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7A3293
RGBrgb(122, 50, 147)
HSLhsl(285, 49%, 39%)
HSVhsv(285, 66%, 58%)
CMYKcmyk(17%, 66%, 0%, 42.4%)
CIE-LABlab(35.05, 46.68, -39.89)
CIE-LCHlch(35.05, 61.40, 319.49°)
OKLaboklab(46.03% 0.1169 -0.1119)
OKLCHoklch(46.03% 0.162 316.3)
XYZxyz(14.4323, 8.5259, 28.4835)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3293 #4B9332
analogous
#493293 #7A3293 #93327B
triadic
#7A3293 #937A32 #32937A
tetradic
#7A3293 #934932 #4B9332 #327B93
square
#7A3293 #934932 #4B9332 #327B93
split-complementary
#7A3293 #7B9332 #329349
monochromatic
#2E1338 #542265 #7A3293 #9F43BF #B671CF

Accessibility & contrast

On white

7.76
#7A3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7A3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3293
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3293#FFFFFF#000000##FFFFFF
##7A32931.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4E96
Deuteranopia (green-blind)
#325591
Tritanopia (blue-blind)
#79445E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a3293;
/* rgb */ color: rgb(122, 50, 147);
/* oklch */ color: oklch(46.0% 0.162 316.3);
Tailwind
colors: {
  custom: {
    50: '#a36fb3',
    500: '#7a3293',
    950: '#000000',
  },
}
SCSS
$custom: #7a3293;
$custom-light: #a36fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3293",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 284.536,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46034,
    "c": 0.1618,
    "h": 316.3
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#7A3293
secondary
#7EB76A
accent
#D94F73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3293

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

Preview Lab → · Contrast checker → · Palette generator →

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