#7F349F#7F349F

#7F349F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.173 H 314.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7F349F
RGBrgb(127, 52, 159)
HSLhsl(282, 51%, 41%)
HSVhsv(282, 67%, 62%)
CMYKcmyk(20.1%, 67.3%, 0%, 37.6%)
CIE-LABlab(36.88, 49.52, -44.21)
CIE-LCHlch(36.88, 66.38, 318.24°)
OKLaboklab(47.74% 0.1205 -0.1244)
OKLCHoklch(47.74% 0.173 314.1)
XYZxyz(16.2373, 9.4717, 33.7671)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F349F #549F34
analogous
#4A349F #7F349F #9F348A
triadic
#7F349F #9F7F34 #349F7F
tetradic
#7F349F #9F4A34 #549F34 #348A9F
square
#7F349F #9F4A34 #549F34 #348A9F
split-complementary
#7F349F #8A9F34 #349F4A
monochromatic
#351643 #5A2571 #7F349F #A04CC4 #B97AD3

Accessibility & contrast

On white

7.26
#7F349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7F349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F349F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F349F#FFFFFF#000000##FFFFFF
##7F349F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#7C4965
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f349f;
/* rgb */ color: rgb(127, 52, 159);
/* oklch */ color: oklch(47.7% 0.173 314.1);
Tailwind
colors: {
  custom: {
    50: '#a771bc',
    500: '#7f349f',
    950: '#000000',
  },
}
SCSS
$custom: #7f349f;
$custom-light: #a771bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f349f",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 282.056,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47741,
    "c": 0.17316,
    "h": 314.1
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#7F349F
secondary
#89BC73
accent
#DA4E78
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F349F

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

Preview Lab → · Contrast checker → · Palette generator →

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