#7E329B#7E329B

#7E329B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.171 H 315.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7E329B
RGBrgb(126, 50, 155)
HSLhsl(283, 51%, 40%)
HSVhsv(283, 68%, 61%)
CMYKcmyk(18.7%, 67.7%, 0%, 39.2%)
CIE-LABlab(36.15, 49.34, -42.97)
CIE-LCHlch(36.15, 65.43, 318.95°)
OKLaboklab(47.1% 0.1217 -0.1208)
OKLCHoklch(47.1% 0.171 315.2)
XYZxyz(15.6602, 9.0839, 31.9324)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E329B #4F9B32
analogous
#4A329B #7E329B #9B3283
triadic
#7E329B #9B7E32 #329B7E
tetradic
#7E329B #9B4A32 #4F9B32 #32839B
square
#7E329B #9B4A32 #4F9B32 #32839B
split-complementary
#7E329B #839B32 #329B4A
monochromatic
#33143E #58236D #7E329B #A147C4 #B975D2

Accessibility & contrast

On white

7.46
#7E329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7E329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E329B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E329B#FFFFFF#000000##FFFFFF
##7E329B1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#305799
Tritanopia (blue-blind)
#7C4662
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e329b;
/* rgb */ color: rgb(126, 50, 155);
/* oklch */ color: oklch(47.1% 0.171 315.2);
Tailwind
colors: {
  custom: {
    50: '#a770b9',
    500: '#7e329b',
    950: '#000000',
  },
}
SCSS
$custom: #7e329b;
$custom-light: #a770b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e329b",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 283.429,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.17149,
    "h": 315.2
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#7E329B
secondary
#83BB6E
accent
#DB4D74
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7E329B

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

Preview Lab → · Contrast checker → · Palette generator →

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