#7F329F#7F329F

#7F329F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.176 H 314.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7F329F
RGBrgb(127, 50, 159)
HSLhsl(282, 52%, 41%)
HSVhsv(282, 69%, 62%)
CMYKcmyk(20.1%, 68.6%, 0%, 37.6%)
CIE-LABlab(36.55, 50.43, -44.73)
CIE-LCHlch(36.55, 67.41, 318.43°)
OKLaboklab(47.51% 0.1228 -0.1259)
OKLCHoklch(47.51% 0.176 314.3)
XYZxyz(16.1500, 9.2970, 33.7379)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F329F #529F32
analogous
#48329F #7F329F #9F3288
triadic
#7F329F #9F7F32 #329F7F
tetradic
#7F329F #9F4832 #529F32 #32889F
square
#7F329F #9F4832 #529F32 #32889F
split-complementary
#7F329F #889F32 #329F48
monochromatic
#351542 #5A2370 #7F329F #A149C6 #B977D4

Accessibility & contrast

On white

7.34
#7F329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7F329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F329F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F329F#FFFFFF#000000##FFFFFF
##7F329F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#2D589C
Tritanopia (blue-blind)
#7C4864
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f329f;
/* rgb */ color: rgb(127, 50, 159);
/* oklch */ color: oklch(47.5% 0.176 314.3);
Tailwind
colors: {
  custom: {
    50: '#a870bc',
    500: '#7f329f',
    950: '#000000',
  },
}
SCSS
$custom: #7f329f;
$custom-light: #a870bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f329f",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 282.385,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.17586,
    "h": 314.3
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#7F329F
secondary
#87BD70
accent
#DC4C76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F329F

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

Preview Lab → · Contrast checker → · Palette generator →

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