#7F329A#7F329A

#7F329A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.171 H 316.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7F329A
RGBrgb(127, 50, 154)
HSLhsl(284, 51%, 40%)
HSVhsv(284, 68%, 60%)
CMYKcmyk(17.5%, 67.5%, 0%, 39.6%)
CIE-LABlab(36.23, 49.37, -42.23)
CIE-LCHlch(36.23, 64.96, 319.46°)
OKLaboklab(47.17% 0.1231 -0.1186)
OKLCHoklch(47.17% 0.171 316.1)
XYZxyz(15.7248, 9.1269, 31.4989)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F329A #4D9A32
analogous
#4B329A #7F329A #9A3281
triadic
#7F329A #9A7F32 #329A7F
tetradic
#7F329A #9A4B32 #4D9A32 #32819A
square
#7F329A #9A4B32 #4D9A32 #32819A
split-complementary
#7F329A #819A32 #329A4B
monochromatic
#33143E #59236C #7F329A #A346C3 #BA74D2

Accessibility & contrast

On white

7.43
#7F329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7F329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F329A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F329A#FFFFFF#000000##FFFFFF
##7F329A1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#325798
Tritanopia (blue-blind)
#7D4662
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f329a;
/* rgb */ color: rgb(127, 50, 154);
/* oklch */ color: oklch(47.2% 0.171 316.1);
Tailwind
colors: {
  custom: {
    50: '#a770b8',
    500: '#7f329a',
    950: '#000000',
  },
}
SCSS
$custom: #7f329a;
$custom-light: #a770b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f329a",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 284.423,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.1709,
    "h": 316.1
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#7F329A
secondary
#82BA6E
accent
#DA4D72
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7F329A

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

Preview Lab → · Contrast checker → · Palette generator →

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