#7F349C#7F349C

#7F349C is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.170 H 315.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7F349C
RGBrgb(127, 52, 156)
HSLhsl(283, 50%, 41%)
HSVhsv(283, 67%, 61%)
CMYKcmyk(18.6%, 66.7%, 0%, 38.8%)
CIE-LABlab(36.69, 48.87, -42.70)
CIE-LCHlch(36.69, 64.90, 318.85°)
OKLaboklab(47.54% 0.1206 -0.12)
OKLCHoklch(47.54% 0.17 315.2)
XYZxyz(15.9802, 9.3689, 32.4126)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F349C #519C34
analogous
#4B349C #7F349C #9C3485
triadic
#7F349C #9C7F34 #349C7F
tetradic
#7F349C #9C4B34 #519C34 #34859C
square
#7F349C #9C4B34 #519C34 #34859C
split-complementary
#7F349C #859C34 #349C4B
monochromatic
#341540 #5A256E #7F349C #A14AC3 #B978D2

Accessibility & contrast

On white

7.31
#7F349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7F349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F349C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F349C#FFFFFF#000000##FFFFFF
##7F349C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#32589A
Tritanopia (blue-blind)
#7D4863
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f349c;
/* rgb */ color: rgb(127, 52, 156);
/* oklch */ color: oklch(47.5% 0.170 315.2);
Tailwind
colors: {
  custom: {
    50: '#a771ba',
    500: '#7f349c',
    950: '#000000',
  },
}
SCSS
$custom: #7f349c;
$custom-light: #a771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f349c",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 283.269,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.17014,
    "h": 315.2
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#7F349C
secondary
#86BB71
accent
#DA4E75
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F349C

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

Preview Lab → · Contrast checker → · Palette generator →

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