#7E367E#7E367E

#7E367E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.137 H 327.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7E367E
RGBrgb(126, 54, 126)
HSLhsl(300, 40%, 35%)
HSVhsv(300, 57%, 49%)
CMYKcmyk(0%, 57.1%, 0%, 50.6%)
CIE-LABlab(35.16, 41.55, -26.73)
CIE-LCHlch(35.16, 49.41, 327.25°)
OKLaboklab(45.85% 0.1156 -0.0736)
OKLCHoklch(45.85% 0.137 327.5)
XYZxyz(13.6890, 8.5811, 20.6699)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E367E #367E36
analogous
#5A367E #7E367E #7E365A
triadic
#7E367E #7E7E36 #367E7E
tetradic
#7E367E #7E5A36 #367E36 #365A7E
square
#7E367E #7E5A36 #367E36 #365A7E
split-complementary
#7E367E #5A7E36 #367E5A
monochromatic
#281128 #532453 #7E367E #A948A9 #C16EC1

Accessibility & contrast

On white

7.73
#7E367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7E367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E367E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E367E#FFFFFF#000000##FFFFFF
##7E367E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#823E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e367e;
/* rgb */ color: rgb(126, 54, 126);
/* oklch */ color: oklch(45.9% 0.137 327.5);
Tailwind
colors: {
  custom: {
    50: '#a671a3',
    500: '#7e367e',
    950: '#000000',
  },
}
SCSS
$custom: #7e367e;
$custom-light: #a671a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e367e",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.13702,
    "h": 327.5
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E367E

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

Preview Lab → · Contrast checker → · Palette generator →

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