#7F348F#7F348F

#7F348F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.7% C 0.157 H 320.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7F348F
RGBrgb(127, 52, 143)
HSLhsl(289, 47%, 38%)
HSVhsv(289, 64%, 56%)
CMYKcmyk(11.2%, 63.6%, 0%, 43.9%)
CIE-LABlab(35.89, 46.16, -36.06)
CIE-LCHlch(35.89, 58.57, 322.00°)
OKLaboklab(46.71% 0.1208 -0.1006)
OKLCHoklch(46.71% 0.157 320.2)
XYZxyz(14.9377, 8.9519, 26.9223)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F348F #448F34
analogous
#51348F #7F348F #8F3471
triadic
#7F348F #8F7F34 #348F7F
tetradic
#7F348F #8F5134 #448F34 #34718F
square
#7F348F #8F5134 #448F34 #34718F
split-complementary
#7F348F #718F34 #348F51
monochromatic
#2F1335 #572462 #7F348F #A645BB #BC72CC

Accessibility & contrast

On white

7.53
#7F348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7F348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F348F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F348F#FFFFFF#000000##FFFFFF
##7F348F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#80435C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f348f;
/* rgb */ color: rgb(127, 52, 143);
/* oklch */ color: oklch(46.7% 0.157 320.2);
Tailwind
colors: {
  custom: {
    50: '#a771b0',
    500: '#7f348f',
    950: '#000000',
  },
}
SCSS
$custom: #7f348f;
$custom-light: #a771b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f348f",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 289.451,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.15717,
    "h": 320.2
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#7F348F
secondary
#78B46B
accent
#D65169
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7F348F

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

Preview Lab → · Contrast checker → · Palette generator →

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