#7F329C#7F329C

#7F329C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.173 H 315.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7F329C
RGBrgb(127, 50, 156)
HSLhsl(284, 51%, 40%)
HSVhsv(284, 68%, 61%)
CMYKcmyk(18.6%, 67.9%, 0%, 38.8%)
CIE-LABlab(36.36, 49.79, -43.23)
CIE-LCHlch(36.36, 65.94, 319.03°)
OKLaboklab(47.31% 0.123 -0.1215)
OKLCHoklch(47.31% 0.173 315.3)
XYZxyz(15.8928, 9.1941, 32.3835)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F329C #4F9C32
analogous
#4A329C #7F329C #9C3284
triadic
#7F329C #9C7F32 #329C7F
tetradic
#7F329C #9C4A32 #4F9C32 #32849C
square
#7F329C #9C4A32 #4F9C32 #32849C
split-complementary
#7F329C #849C32 #329C4A
monochromatic
#34143F #59236E #7F329C #A247C4 #B975D3

Accessibility & contrast

On white

7.40
#7F329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7F329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F329C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F329C#FFFFFF#000000##FFFFFF
##7F329C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#7D4663
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f329c;
/* rgb */ color: rgb(127, 50, 156);
/* oklch */ color: oklch(47.3% 0.173 315.3);
Tailwind
colors: {
  custom: {
    50: '#a770ba',
    500: '#7f329c',
    950: '#000000',
  },
}
SCSS
$custom: #7f329c;
$custom-light: #a770ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f329c",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 283.585,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.17288,
    "h": 315.3
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#7F329C
secondary
#84BB6F
accent
#DB4D74
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F329C

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

Preview Lab → · Contrast checker → · Palette generator →

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