#7A328E#7A328E

#7A328E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.157 H 318.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7A328E
RGBrgb(122, 50, 142)
HSLhsl(287, 48%, 38%)
HSVhsv(287, 65%, 56%)
CMYKcmyk(14.1%, 64.8%, 0%, 44.3%)
CIE-LABlab(34.75, 45.63, -37.32)
CIE-LCHlch(34.75, 58.94, 320.72°)
OKLaboklab(45.71% 0.117 -0.1044)
OKLCHoklch(45.71% 0.157 318.3)
XYZxyz(14.0485, 8.3724, 26.4620)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A328E #468E32
analogous
#4C328E #7A328E #8E3274
triadic
#7A328E #8E7A32 #328E7A
tetradic
#7A328E #8E4C32 #468E32 #32748E
square
#7A328E #8E4C32 #468E32 #32748E
split-complementary
#7A328E #748E32 #328E4C
monochromatic
#2C1233 #532261 #7A328E #A142BB #B86ECC

Accessibility & contrast

On white

7.85
#7A328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A328E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A328E#FFFFFF#000000##FFFFFF
##7A328E1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#7A425B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a328e;
/* rgb */ color: rgb(122, 50, 142);
/* oklch */ color: oklch(45.7% 0.157 318.3);
Tailwind
colors: {
  custom: {
    50: '#a36faf',
    500: '#7a328e',
    950: '#000000',
  },
}
SCSS
$custom: #7a328e;
$custom-light: #a36faf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a328e",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 286.957,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.15675,
    "h": 318.3
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#7A328E
secondary
#78B468
accent
#D8506E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A328E

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

Preview Lab → · Contrast checker → · Palette generator →

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