#7E32C9#7E32C9

#7E32C9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.218 H 301.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E32C9
RGBrgb(126, 50, 201)
HSLhsl(270, 60%, 49%)
HSVhsv(270, 75%, 79%)
CMYKcmyk(37.3%, 75.1%, 0%, 21.2%)
CIE-LABlab(39.47, 59.71, -64.88)
CIE-LCHlch(39.47, 88.17, 312.62°)
OKLaboklab(50.51% 0.1148 -0.1851)
OKLCHoklch(50.51% 0.218 301.8)
XYZxyz(20.2849, 10.9338, 56.2888)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32C9 #7DC932
analogous
#3332C9 #7E32C9 #C932C9
triadic
#7E32C9 #C97E32 #32C97E
tetradic
#7E32C9 #C93332 #7DC932 #32C9C9
square
#7E32C9 #C93332 #7DC932 #32C9C9
split-complementary
#7E32C9 #C9C932 #32C933
monochromatic
#411A67 #5F2698 #7E32C9 #9C61D8 #BB92E4

Accessibility & contrast

On white

6.59
#7E32C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7E32C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E32C9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32C9#FFFFFF#000000##FFFFFF
##7E32C91.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#6E597C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e32c9;
/* rgb */ color: rgb(126, 50, 201);
/* oklch */ color: oklch(50.5% 0.218 301.8);
Tailwind
colors: {
  custom: {
    50: '#aa72da',
    500: '#7e32c9',
    950: '#000000',
  },
}
SCSS
$custom: #7e32c9;
$custom-light: #aa72da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32c9",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 270.199,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.21783,
    "h": 301.8
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#7E32C9
secondary
#ABCF88
accent
#E34493
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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