#7F348A#7F348A

#7F348A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.152 H 322.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7F348A
RGBrgb(127, 52, 138)
HSLhsl(292, 45%, 37%)
HSVhsv(292, 62%, 54%)
CMYKcmyk(8%, 62.3%, 0%, 45.9%)
CIE-LABlab(35.60, 45.15, -33.45)
CIE-LCHlch(35.60, 56.19, 323.47°)
OKLaboklab(46.41% 0.1206 -0.093)
OKLCHoklch(46.41% 0.152 322.4)
XYZxyz(14.5674, 8.8037, 24.9718)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F348A #3F8A34
analogous
#54348A #7F348A #8A346A
triadic
#7F348A #8A7F34 #348A7F
tetradic
#7F348A #8A5434 #3F8A34 #346A8A
square
#7F348A #8A5434 #3F8A34 #346A8A
split-complementary
#7F348A #6A8A34 #348A54
monochromatic
#2D1331 #56235E #7F348A #A845B6 #BD6FC9

Accessibility & contrast

On white

7.61
#7F348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7F348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F348A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F348A#FFFFFF#000000##FFFFFF
##7F348A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#81415A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f348a;
/* rgb */ color: rgb(127, 52, 138);
/* oklch */ color: oklch(46.4% 0.152 322.4);
Tailwind
colors: {
  custom: {
    50: '#a770ac',
    500: '#7f348a',
    950: '#000000',
  },
}
SCSS
$custom: #7f348a;
$custom-light: #a770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f348a",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 292.326,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46411,
    "c": 0.15227,
    "h": 322.4
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#7F348A
secondary
#72B169
accent
#D55363
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7F348A

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

Preview Lab → · Contrast checker → · Palette generator →

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