#7E368D#7E368D

#7E368D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.7% C 0.152 H 320.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7E368D
RGBrgb(126, 54, 141)
HSLhsl(290, 45%, 38%)
HSVhsv(290, 62%, 55%)
CMYKcmyk(10.6%, 61.7%, 0%, 44.7%)
CIE-LABlab(35.98, 44.52, -34.71)
CIE-LCHlch(35.98, 56.45, 322.06°)
OKLaboklab(46.71% 0.1169 -0.0967)
OKLCHoklch(46.71% 0.152 320.4)
XYZxyz(14.7305, 8.9977, 26.1550)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E368D #458D36
analogous
#52368D #7E368D #8D3670
triadic
#7E368D #8D7E36 #368D7E
tetradic
#7E368D #8D5236 #458D36 #36708D
square
#7E368D #8D5236 #458D36 #36708D
split-complementary
#7E368D #708D36 #368D52
monochromatic
#2F1434 #562561 #7E368D #A547B9 #BB74CA

Accessibility & contrast

On white

7.50
#7E368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7E368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E368D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E368D#FFFFFF#000000##FFFFFF
##7E368D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#3E578B
Tritanopia (blue-blind)
#7F445C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e368d;
/* rgb */ color: rgb(126, 54, 141);
/* oklch */ color: oklch(46.7% 0.152 320.4);
Tailwind
colors: {
  custom: {
    50: '#a672af',
    500: '#7e368d',
    950: '#000000',
  },
}
SCSS
$custom: #7e368d;
$custom-light: #a672af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e368d",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 289.655,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.15166,
    "h": 320.4
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#7E368D
secondary
#79B26D
accent
#D4536A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E368D

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

Preview Lab → · Contrast checker → · Palette generator →

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