#7E32BF#7E32BF

#7E32BF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.208 H 304.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7E32BF
RGBrgb(126, 50, 191)
HSLhsl(272, 59%, 47%)
HSVhsv(272, 74%, 75%)
CMYKcmyk(34%, 73.8%, 0%, 25.1%)
CIE-LABlab(38.69, 57.38, -60.31)
CIE-LCHlch(38.69, 83.25, 313.57°)
OKLaboklab(49.72% 0.1169 -0.1717)
OKLCHoklch(49.72% 0.208 304.3)
XYZxyz(19.1466, 10.4785, 50.2940)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32BF #73BF32
analogous
#3732BF #7E32BF #BF32BA
triadic
#7E32BF #BF7E32 #32BF7E
tetradic
#7E32BF #BF3732 #73BF32 #32BABF
square
#7E32BF #BF3732 #73BF32 #32BABF
split-complementary
#7E32BF #BABF32 #32BF37
monochromatic
#3E195E #5E258E #7E32BF #9C5AD4 #B98BE1

Accessibility & contrast

On white

6.78
#7E32BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7E32BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E32BF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32BF#FFFFFF#000000##FFFFFF
##7E32BF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#715576
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e32bf;
/* rgb */ color: rgb(126, 50, 191);
/* oklch */ color: oklch(49.7% 0.208 304.3);
Tailwind
colors: {
  custom: {
    50: '#a971d3',
    500: '#7e32bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e32bf;
$custom-light: #a971d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32bf",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 272.34,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49718,
    "c": 0.20776,
    "h": 304.3
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#7E32BF
secondary
#A4CB82
accent
#E2468E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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