#7F349E#7F349E

#7F349E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 314.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7F349E
RGBrgb(127, 52, 158)
HSLhsl(282, 50%, 41%)
HSVhsv(282, 67%, 62%)
CMYKcmyk(19.6%, 67.1%, 0%, 38%)
CIE-LABlab(36.81, 49.30, -43.71)
CIE-LCHlch(36.81, 65.89, 318.44°)
OKLaboklab(47.67% 0.1205 -0.1229)
OKLCHoklch(47.67% 0.172 314.4)
XYZxyz(16.1509, 9.4372, 33.3119)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F349E #539E34
analogous
#4A349E #7F349E #9E3488
triadic
#7F349E #9E7F34 #349E7F
tetradic
#7F349E #9E4A34 #539E34 #34889E
square
#7F349E #9E4A34 #539E34 #34889E
split-complementary
#7F349E #889E34 #349E4A
monochromatic
#351642 #5A2570 #7F349E #A14BC4 #B979D3

Accessibility & contrast

On white

7.27
#7F349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F349E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F349E#FFFFFF#000000##FFFFFF
##7F349E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#7C4964
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f349e;
/* rgb */ color: rgb(127, 52, 158);
/* oklch */ color: oklch(47.7% 0.172 314.4);
Tailwind
colors: {
  custom: {
    50: '#a771bb',
    500: '#7f349e',
    950: '#000000',
  },
}
SCSS
$custom: #7f349e;
$custom-light: #a771bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f349e",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 282.453,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.17215,
    "h": 314.4
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#7F349E
secondary
#88BC72
accent
#DA4E77
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F349E

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

Preview Lab → · Contrast checker → · Palette generator →

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