#7F367E#7F367E

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

Color values

HEX#7F367E
RGBrgb(127, 54, 126)
HSLhsl(301, 40%, 35%)
HSVhsv(301, 57%, 50%)
CMYKcmyk(0%, 57.5%, 0.8%, 50.2%)
CIE-LABlab(35.32, 41.84, -26.48)
CIE-LCHlch(35.32, 49.52, 327.67°)
OKLaboklab(45.99% 0.1168 -0.0728)
OKLCHoklch(45.99% 0.138 328.1)
XYZxyz(13.8373, 8.6576, 20.6769)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F367E #367F37
analogous
#5B367F #7F367E #7F3659
triadic
#7F367E #7E7F36 #367E7F
tetradic
#7F367E #7F5B36 #367F37 #36597F
square
#7F367E #7F5B36 #367F37 #36597F
split-complementary
#7F367E #597F36 #367F5B
monochromatic
#291129 #542453 #7F367E #AA48A9 #C16EC0

Accessibility & contrast

On white

7.69
#7F367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7F367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F367E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F367E#FFFFFF#000000##FFFFFF
##7F367E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#47567C
Tritanopia (blue-blind)
#833E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f367e;
/* rgb */ color: rgb(127, 54, 126);
/* oklch */ color: oklch(46.0% 0.138 328.1);
Tailwind
colors: {
  custom: {
    50: '#a671a3',
    500: '#7f367e',
    950: '#000000',
  },
}
SCSS
$custom: #7f367e;
$custom-light: #a671a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f367e",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 300.822,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.13765,
    "h": 328.1
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#7F367E
secondary
#67AA68
accent
#D05958
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7F367E

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

Preview Lab → · Contrast checker → · Palette generator →

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