#7A3296#7A3296

#7A3296 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.165 H 315.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7A3296
RGBrgb(122, 50, 150)
HSLhsl(283, 50%, 39%)
HSVhsv(283, 67%, 59%)
CMYKcmyk(18.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(35.24, 47.33, -41.41)
CIE-LCHlch(35.24, 62.89, 318.81°)
OKLaboklab(46.23% 0.1168 -0.1163)
OKLCHoklch(46.23% 0.165 315.1)
XYZxyz(14.6708, 8.6213, 29.7395)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3296 #4E9632
analogous
#483296 #7A3296 #963280
triadic
#7A3296 #967A32 #32967A
tetradic
#7A3296 #964832 #4E9632 #328096
square
#7A3296 #964832 #4E9632 #328096
split-complementary
#7A3296 #809632 #329648
monochromatic
#2F133A #552368 #7A3296 #9E44C1 #B672D0

Accessibility & contrast

On white

7.71
#7A3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A3296
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3296#FFFFFF#000000##FFFFFF
##7A32961.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#78455F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a3296;
/* rgb */ color: rgb(122, 50, 150);
/* oklch */ color: oklch(46.2% 0.165 315.1);
Tailwind
colors: {
  custom: {
    50: '#a46fb5',
    500: '#7a3296',
    950: '#000000',
  },
}
SCSS
$custom: #7a3296;
$custom-light: #a46fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3296",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 283.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.16485,
    "h": 315.1
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#7A3296
secondary
#81B86C
accent
#DA4E75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3296

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

Preview Lab → · Contrast checker → · Palette generator →

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