#7F349D#7F349D

#7F349D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.171 H 314.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7F349D
RGBrgb(127, 52, 157)
HSLhsl(283, 50%, 41%)
HSVhsv(283, 67%, 62%)
CMYKcmyk(19.1%, 66.9%, 0%, 38.4%)
CIE-LABlab(36.75, 49.09, -43.21)
CIE-LCHlch(36.75, 65.39, 318.64°)
OKLaboklab(47.61% 0.1206 -0.1215)
OKLCHoklch(47.61% 0.171 314.8)
XYZxyz(16.0652, 9.4029, 32.8604)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F349D #529D34
analogous
#4A349D #7F349D #9D3486
triadic
#7F349D #9D7F34 #349D7F
tetradic
#7F349D #9D4A34 #529D34 #34869D
square
#7F349D #9D4A34 #529D34 #34869D
split-complementary
#7F349D #869D34 #349D4A
monochromatic
#351641 #5A256F #7F349D #A14BC3 #B979D3

Accessibility & contrast

On white

7.29
#7F349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7F349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F349D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F349D#FFFFFF#000000##FFFFFF
##7F349D1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#31589B
Tritanopia (blue-blind)
#7D4864
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f349d;
/* rgb */ color: rgb(127, 52, 157);
/* oklch */ color: oklch(47.6% 0.171 314.8);
Tailwind
colors: {
  custom: {
    50: '#a771ba',
    500: '#7f349d',
    950: '#000000',
  },
}
SCSS
$custom: #7f349d;
$custom-light: #a771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f349d",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 282.857,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47608,
    "c": 0.17114,
    "h": 314.8
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#7F349D
secondary
#87BB72
accent
#DA4E76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F349D

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

Preview Lab → · Contrast checker → · Palette generator →

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