#7E32AF#7E32AF

#7E32AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.192 H 308.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7E32AF
RGBrgb(126, 50, 175)
HSLhsl(276, 56%, 44%)
HSVhsv(276, 71%, 69%)
CMYKcmyk(28%, 71.4%, 0%, 31.4%)
CIE-LABlab(37.50, 53.73, -52.79)
CIE-LCHlch(37.50, 75.32, 315.51°)
OKLaboklab(48.51% 0.1197 -0.1496)
OKLCHoklch(48.51% 0.192 308.7)
XYZxyz(17.4811, 9.8123, 41.5222)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32AF #63AF32
analogous
#4032AF #7E32AF #AF32A2
triadic
#7E32AF #AF7E32 #32AF7E
tetradic
#7E32AF #AF4032 #63AF32 #32A2AF
square
#7E32AF #AF4032 #63AF32 #32A2AF
split-complementary
#7E32AF #A2AF32 #32AF40
monochromatic
#391750 #5C247F #7E32AF #9D51CD #B781DB

Accessibility & contrast

On white

7.09
#7E32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7E32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E32AF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32AF#FFFFFF#000000##FFFFFF
##7E32AF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#1359AC
Tritanopia (blue-blind)
#774E6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e32af;
/* rgb */ color: rgb(126, 50, 175);
/* oklch */ color: oklch(48.5% 0.192 308.7);
Tailwind
colors: {
  custom: {
    50: '#a871c8',
    500: '#7e32af',
    950: '#000000',
  },
}
SCSS
$custom: #7e32af;
$custom-light: #a871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32af",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 276.48,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.1916,
    "h": 308.7
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#7E32AF
secondary
#96C479
accent
#DF4984
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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