#7E329F#7E329F

#7E329F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.175 H 313.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7E329F
RGBrgb(126, 50, 159)
HSLhsl(282, 52%, 41%)
HSVhsv(282, 69%, 62%)
CMYKcmyk(20.8%, 68.6%, 0%, 37.6%)
CIE-LABlab(36.41, 50.20, -44.97)
CIE-LCHlch(36.41, 67.40, 318.14°)
OKLaboklab(47.37% 0.1215 -0.1267)
OKLCHoklch(47.37% 0.175 313.8)
XYZxyz(16.0017, 9.2205, 33.7310)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E329F #539F32
analogous
#47329F #7E329F #9F3289
triadic
#7E329F #9F7E32 #329F7E
tetradic
#7E329F #9F4732 #539F32 #32899F
square
#7E329F #9F4732 #539F32 #32899F
split-complementary
#7E329F #899F32 #329F47
monochromatic
#341542 #592370 #7E329F #A049C6 #B877D4

Accessibility & contrast

On white

7.38
#7E329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7E329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E329F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E329F#FFFFFF#000000##FFFFFF
##7E329F1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#2C579D
Tritanopia (blue-blind)
#7B4864
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e329f;
/* rgb */ color: rgb(126, 50, 159);
/* oklch */ color: oklch(47.4% 0.175 313.8);
Tailwind
colors: {
  custom: {
    50: '#a770bc',
    500: '#7e329f',
    950: '#000000',
  },
}
SCSS
$custom: #7e329f;
$custom-light: #a770bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e329f",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 281.835,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.17549,
    "h": 313.8
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#7E329F
secondary
#87BD70
accent
#DC4C78
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7E329F

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

Preview Lab → · Contrast checker → · Palette generator →

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