#7A328F#7A328F

#7A328F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.158 H 317.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7A328F
RGBrgb(122, 50, 143)
HSLhsl(286, 48%, 38%)
HSVhsv(286, 65%, 56%)
CMYKcmyk(14.7%, 65%, 0%, 43.9%)
CIE-LABlab(34.81, 45.84, -37.83)
CIE-LCHlch(34.81, 59.43, 320.46°)
OKLaboklab(45.78% 0.117 -0.1059)
OKLCHoklch(45.78% 0.158 317.8)
XYZxyz(14.1239, 8.4025, 26.8591)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A328F #478F32
analogous
#4C328F #7A328F #8F3275
triadic
#7A328F #8F7A32 #328F7A
tetradic
#7A328F #8F4C32 #478F32 #32758F
square
#7A328F #8F4C32 #478F32 #32758F
split-complementary
#7A328F #758F32 #328F4C
monochromatic
#2D1234 #532262 #7A328F #A142BC #B76FCD

Accessibility & contrast

On white

7.83
#7A328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7A328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A328F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A328F#FFFFFF#000000##FFFFFF
##7A328F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#36548D
Tritanopia (blue-blind)
#79425C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a328f;
/* rgb */ color: rgb(122, 50, 143);
/* oklch */ color: oklch(45.8% 0.158 317.8);
Tailwind
colors: {
  custom: {
    50: '#a36fb0',
    500: '#7a328f',
    950: '#000000',
  },
}
SCSS
$custom: #7a328f;
$custom-light: #a36fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a328f",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 286.452,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.15776,
    "h": 317.8
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#7A328F
secondary
#7AB468
accent
#D8506F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A328F

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

Preview Lab → · Contrast checker → · Palette generator →

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