#7F329D#7F329D

#7F329D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.174 H 315.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7F329D
RGBrgb(127, 50, 157)
HSLhsl(283, 52%, 41%)
HSVhsv(283, 68%, 62%)
CMYKcmyk(19.1%, 68.2%, 0%, 38.4%)
CIE-LABlab(36.42, 50.00, -43.73)
CIE-LCHlch(36.42, 66.43, 318.83°)
OKLaboklab(47.37% 0.1229 -0.123)
OKLCHoklch(47.37% 0.174 315)
XYZxyz(15.9778, 9.2281, 32.8313)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F329D #509D32
analogous
#4A329D #7F329D #9D3285
triadic
#7F329D #9D7F32 #329D7F
tetradic
#7F329D #9D4A32 #509D32 #32859D
square
#7F329D #9D4A32 #509D32 #32859D
split-complementary
#7F329D #859D32 #329D4A
monochromatic
#341440 #59236F #7F329D #A248C5 #B976D3

Accessibility & contrast

On white

7.38
#7F329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7F329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F329D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F329D#FFFFFF#000000##FFFFFF
##7F329D1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#7D4763
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f329d;
/* rgb */ color: rgb(127, 50, 157);
/* oklch */ color: oklch(47.4% 0.174 315.0);
Tailwind
colors: {
  custom: {
    50: '#a770ba',
    500: '#7f329d',
    950: '#000000',
  },
}
SCSS
$custom: #7f329d;
$custom-light: #a770ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f329d",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 283.178,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.17387,
    "h": 315
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#7F329D
secondary
#85BC6F
accent
#DB4D75
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F329D

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

Preview Lab → · Contrast checker → · Palette generator →

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