#7E368C#7E368C

#7E368C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.6% C 0.151 H 320.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7E368C
RGBrgb(126, 54, 140)
HSLhsl(290, 44%, 38%)
HSVhsv(290, 61%, 55%)
CMYKcmyk(10%, 61.4%, 0%, 45.1%)
CIE-LABlab(35.92, 44.32, -34.18)
CIE-LCHlch(35.92, 55.97, 322.36°)
OKLaboklab(46.65% 0.1168 -0.0951)
OKLCHoklch(46.65% 0.151 320.8)
XYZxyz(14.6564, 8.9681, 25.7649)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E368C #448C36
analogous
#53368C #7E368C #8C366F
triadic
#7E368C #8C7E36 #368C7E
tetradic
#7E368C #8C5336 #448C36 #366F8C
square
#7E368C #8C5336 #448C36 #366F8C
split-complementary
#7E368C #6F8C36 #368C53
monochromatic
#2F1434 #562560 #7E368C #A647B8 #BB73C9

Accessibility & contrast

On white

7.52
#7E368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E368C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E368C#FFFFFF#000000##FFFFFF
##7E368C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#7F435C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e368c;
/* rgb */ color: rgb(126, 54, 140);
/* oklch */ color: oklch(46.6% 0.151 320.8);
Tailwind
colors: {
  custom: {
    50: '#a672ae',
    500: '#7e368c',
    950: '#000000',
  },
}
SCSS
$custom: #7e368c;
$custom-light: #a672ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e368c",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 290.233,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.15066,
    "h": 320.8
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#7E368C
secondary
#77B26C
accent
#D45469
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E368C

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

Preview Lab → · Contrast checker → · Palette generator →

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