#7E368B#7E368B

#7E368B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.6% C 0.150 H 321.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7E368B
RGBrgb(126, 54, 139)
HSLhsl(291, 44%, 38%)
HSVhsv(291, 61%, 55%)
CMYKcmyk(9.4%, 61.2%, 0%, 45.5%)
CIE-LABlab(35.87, 44.11, -33.66)
CIE-LCHlch(35.87, 55.49, 322.66°)
OKLaboklab(46.59% 0.1168 -0.0936)
OKLCHoklch(46.59% 0.15 321.3)
XYZxyz(14.5830, 8.9387, 25.3783)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E368B #438B36
analogous
#54368B #7E368B #8B366D
triadic
#7E368B #8B7E36 #368B7E
tetradic
#7E368B #8B5436 #438B36 #366D8B
square
#7E368B #8B5436 #438B36 #366D8B
split-complementary
#7E368B #6D8B36 #368B54
monochromatic
#2E1433 #56255F #7E368B #A647B7 #BB73C9

Accessibility & contrast

On white

7.53
#7E368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7E368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E368B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E368B#FFFFFF#000000##FFFFFF
##7E368B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#7F435B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e368b;
/* rgb */ color: rgb(126, 54, 139);
/* oklch */ color: oklch(46.6% 0.150 321.3);
Tailwind
colors: {
  custom: {
    50: '#a672ad',
    500: '#7e368b',
    950: '#000000',
  },
}
SCSS
$custom: #7e368b;
$custom-light: #a672ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e368b",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 290.824,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.14966,
    "h": 321.3
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#7E368B
secondary
#76B16C
accent
#D45468
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E368B

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

Preview Lab → · Contrast checker → · Palette generator →

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