#7A328D#7A328D

#7A328D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.6% C 0.156 H 318.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7A328D
RGBrgb(122, 50, 141)
HSLhsl(287, 48%, 37%)
HSVhsv(287, 65%, 55%)
CMYKcmyk(13.5%, 64.5%, 0%, 44.7%)
CIE-LABlab(34.69, 45.42, -36.80)
CIE-LCHlch(34.69, 58.45, 320.98°)
OKLaboklab(45.65% 0.117 -0.1029)
OKLCHoklch(45.65% 0.156 318.7)
XYZxyz(13.9737, 8.3425, 26.0683)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A328D #458D32
analogous
#4D328D #7A328D #8D3272
triadic
#7A328D #8D7A32 #328D7A
tetradic
#7A328D #8D4D32 #458D32 #32728D
square
#7A328D #8D4D32 #458D32 #32728D
split-complementary
#7A328D #728D32 #328D4D
monochromatic
#2C1233 #532260 #7A328D #A142BA #B86ECC

Accessibility & contrast

On white

7.87
#7A328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7A328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A328D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A328D#FFFFFF#000000##FFFFFF
##7A328D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#37548B
Tritanopia (blue-blind)
#7A425B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a328d;
/* rgb */ color: rgb(122, 50, 141);
/* oklch */ color: oklch(45.6% 0.156 318.7);
Tailwind
colors: {
  custom: {
    50: '#a36faf',
    500: '#7a328d',
    950: '#000000',
  },
}
SCSS
$custom: #7a328d;
$custom-light: #a36faf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a328d",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 287.473,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.15575,
    "h": 318.7
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#7A328D
secondary
#77B368
accent
#D7516D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A328D

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

Preview Lab → · Contrast checker → · Palette generator →

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