#7F367A#7F367A

#7F367A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.8% C 0.134 H 330.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7F367A
RGBrgb(127, 54, 122)
HSLhsl(304, 40%, 35%)
HSVhsv(304, 57%, 50%)
CMYKcmyk(0%, 57.5%, 3.9%, 50.2%)
CIE-LABlab(35.12, 41.09, -24.30)
CIE-LCHlch(35.12, 47.74, 329.40°)
OKLaboklab(45.78% 0.1162 -0.0666)
OKLCHoklch(45.78% 0.134 330.2)
XYZxyz(13.5843, 8.5564, 19.3446)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F367A #367F3B
analogous
#5F367F #7F367A #7F3655
triadic
#7F367A #7A7F36 #367A7F
tetradic
#7F367A #7F5F36 #367F3B #36557F
square
#7F367A #7F5F36 #367F3B #36557F
split-complementary
#7F367A #557F36 #367F5F
monochromatic
#291127 #542451 #7F367A #AA48A3 #C16EBC

Accessibility & contrast

On white

7.75
#7F367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7F367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F367A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F367A#FFFFFF#000000##FFFFFF
##7F367A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#485678
Tritanopia (blue-blind)
#833D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f367a;
/* rgb */ color: rgb(127, 54, 122);
/* oklch */ color: oklch(45.8% 0.134 330.2);
Tailwind
colors: {
  custom: {
    50: '#a671a0',
    500: '#7f367a',
    950: '#000000',
  },
}
SCSS
$custom: #7f367a;
$custom-light: #a671a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f367a",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 304.11,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.13396,
    "h": 330.2
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#7F367A
secondary
#67AA6C
accent
#D06058
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #7F367A

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

Preview Lab → · Contrast checker → · Palette generator →

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