#7F367F#7F367F

#7F367F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.0% C 0.139 H 327.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7F367F
RGBrgb(127, 54, 127)
HSLhsl(300, 40%, 35%)
HSVhsv(300, 57%, 50%)
CMYKcmyk(0%, 57.5%, 0%, 50.2%)
CIE-LABlab(35.37, 42.03, -27.02)
CIE-LCHlch(35.37, 49.97, 327.26°)
OKLaboklab(46.05% 0.1169 -0.0744)
OKLCHoklch(46.05% 0.139 327.5)
XYZxyz(13.9021, 8.6835, 21.0184)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F367F #367F36
analogous
#5A367F #7F367F #7F365A
triadic
#7F367F #7F7F36 #367F7F
tetradic
#7F367F #7F5A36 #367F36 #365A7F
square
#7F367F #7F5A36 #367F36 #365A7F
split-complementary
#7F367F #5A7F36 #367F5A
monochromatic
#291129 #542454 #7F367F #AA48AA #C16EC1

Accessibility & contrast

On white

7.67
#7F367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7F367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F367F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F367F#FFFFFF#000000##FFFFFF
##7F367F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#833F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f367f;
/* rgb */ color: rgb(127, 54, 127);
/* oklch */ color: oklch(46.0% 0.139 327.5);
Tailwind
colors: {
  custom: {
    50: '#a671a4',
    500: '#7f367f',
    950: '#000000',
  },
}
SCSS
$custom: #7f367f;
$custom-light: #a671a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f367f",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 300,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.13859,
    "h": 327.5
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#7F367F
secondary
#67AA67
accent
#D05858
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7F367F

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

Preview Lab → · Contrast checker → · Palette generator →

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