#7A3288#7A3288

#7A3288 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.151 H 320.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7A3288
RGBrgb(122, 50, 136)
HSLhsl(290, 46%, 36%)
HSVhsv(290, 63%, 53%)
CMYKcmyk(10.3%, 63.2%, 0%, 46.7%)
CIE-LABlab(34.39, 44.39, -34.19)
CIE-LCHlch(34.39, 56.03, 322.39°)
OKLaboklab(45.34% 0.1169 -0.0953)
OKLCHoklch(45.34% 0.151 320.8)
XYZxyz(13.6101, 8.1970, 24.1531)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3288 #408832
analogous
#4F3288 #7A3288 #88326B
triadic
#7A3288 #887A32 #32887A
tetradic
#7A3288 #884F32 #408832 #326B88
square
#7A3288 #884F32 #408832 #326B88
split-complementary
#7A3288 #6B8832 #32884F
monochromatic
#2A112F #52225B #7A3288 #A242B5 #BA6CC9

Accessibility & contrast

On white

7.96
#7A3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7A3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3288
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3288#FFFFFF#000000##FFFFFF
##7A32881.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8B
Deuteranopia (green-blind)
#3A5486
Tritanopia (blue-blind)
#7B4058
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a3288;
/* rgb */ color: rgb(122, 50, 136);
/* oklch */ color: oklch(45.3% 0.151 320.8);
Tailwind
colors: {
  custom: {
    50: '#a36fab',
    500: '#7a3288',
    950: '#000000',
  },
}
SCSS
$custom: #7a3288;
$custom-light: #a36fab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3288",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 290.233,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.15076,
    "h": 320.8
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#7A3288
secondary
#72B065
accent
#D65267
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A3288

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

Preview Lab → · Contrast checker → · Palette generator →

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