#7E368E#7E368E

#7E368E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.153 H 320.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7E368E
RGBrgb(126, 54, 142)
HSLhsl(289, 45%, 38%)
HSVhsv(289, 62%, 56%)
CMYKcmyk(11.3%, 62%, 0%, 44.3%)
CIE-LABlab(36.04, 44.73, -35.23)
CIE-LCHlch(36.04, 56.93, 321.78°)
OKLaboklab(46.77% 0.1169 -0.0982)
OKLCHoklch(46.77% 0.153 320)
XYZxyz(14.8052, 9.0276, 26.5486)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E368E #468E36
analogous
#52368E #7E368E #8E3672
triadic
#7E368E #8E7E36 #368E7E
tetradic
#7E368E #8E5236 #468E36 #36728E
square
#7E368E #8E5236 #468E36 #36728E
split-complementary
#7E368E #728E36 #368E52
monochromatic
#2F1435 #572562 #7E368E #A548B9 #BB74CA

Accessibility & contrast

On white

7.49
#7E368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7E368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E368E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E368E#FFFFFF#000000##FFFFFF
##7E368E1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#7F445D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e368e;
/* rgb */ color: rgb(126, 54, 142);
/* oklch */ color: oklch(46.8% 0.153 320.0);
Tailwind
colors: {
  custom: {
    50: '#a672af',
    500: '#7e368e',
    950: '#000000',
  },
}
SCSS
$custom: #7e368e;
$custom-light: #a672af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e368e",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 289.091,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.15267,
    "h": 320
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#7E368E
secondary
#7AB36D
accent
#D5536B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E368E

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

Preview Lab → · Contrast checker → · Palette generator →

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