#7C327E#7C327E

#7C327E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.0% C 0.142 H 326.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7C327E
RGBrgb(124, 50, 126)
HSLhsl(298, 43%, 35%)
HSVhsv(298, 60%, 49%)
CMYKcmyk(1.6%, 60.3%, 0%, 50.6%)
CIE-LABlab(34.14, 42.95, -28.37)
CIE-LCHlch(34.14, 51.47, 326.55°)
OKLaboklab(45.03% 0.1187 -0.0783)
OKLCHoklch(45.03% 0.142 326.6)
XYZxyz(13.2184, 8.0734, 20.5967)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C327E #347E32
analogous
#56327E #7C327E #7E325A
triadic
#7C327E #7E7C32 #327E7C
tetradic
#7C327E #7E5632 #347E32 #325A7E
square
#7C327E #7E5632 #347E32 #325A7E
split-complementary
#7C327E #5A7E32 #327E56
monochromatic
#260F26 #512152 #7C327E #A743AA #C068C3

Accessibility & contrast

On white

8.03
#7C327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7C327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C327E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C327E#FFFFFF#000000##FFFFFF
##7C327E1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#42547C
Tritanopia (blue-blind)
#7F3C53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c327e;
/* rgb */ color: rgb(124, 50, 126);
/* oklch */ color: oklch(45.0% 0.142 326.6);
Tailwind
colors: {
  custom: {
    50: '#a46fa3',
    500: '#7c327e',
    950: '#000000',
  },
}
SCSS
$custom: #7c327e;
$custom-light: #a46fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c327e",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 298.421,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.1422,
    "h": 326.6
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#7C327E
secondary
#63AB61
accent
#D35558
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7C327E

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

Preview Lab → · Contrast checker → · Palette generator →

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