#7F349B#7F349B

#7F349B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.169 H 315.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7F349B
RGBrgb(127, 52, 155)
HSLhsl(284, 50%, 41%)
HSVhsv(284, 66%, 61%)
CMYKcmyk(18.1%, 66.5%, 0%, 39.2%)
CIE-LABlab(36.62, 48.66, -42.20)
CIE-LCHlch(36.62, 64.41, 319.07°)
OKLaboklab(47.48% 0.1207 -0.1185)
OKLCHoklch(47.48% 0.169 315.5)
XYZxyz(15.8958, 9.3351, 31.9685)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F349B #509B34
analogous
#4B349B #7F349B #9B3483
triadic
#7F349B #9B7F34 #349B7F
tetradic
#7F349B #9B4B34 #509B34 #34839B
square
#7F349B #9B4B34 #509B34 #34839B
split-complementary
#7F349B #839B34 #349B4B
monochromatic
#34153F #59256D #7F349B #A24AC2 #B978D2

Accessibility & contrast

On white

7.32
#7F349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F349B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F349B#FFFFFF#000000##FFFFFF
##7F349B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#335899
Tritanopia (blue-blind)
#7D4763
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f349b;
/* rgb */ color: rgb(127, 52, 155);
/* oklch */ color: oklch(47.5% 0.169 315.5);
Tailwind
colors: {
  custom: {
    50: '#a771b9',
    500: '#7f349b',
    950: '#000000',
  },
}
SCSS
$custom: #7f349b;
$custom-light: #a771b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f349b",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 283.689,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.16913,
    "h": 315.5
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#7F349B
secondary
#85BA71
accent
#D94F74
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7F349B

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

Preview Lab → · Contrast checker → · Palette generator →

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