#7E32BD#7E32BD

#7E32BD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.206 H 304.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7E32BD
RGBrgb(126, 50, 189)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 74%, 74%)
CMYKcmyk(33.3%, 73.5%, 0%, 25.9%)
CIE-LABlab(38.54, 56.92, -59.39)
CIE-LCHlch(38.54, 82.26, 313.78°)
OKLaboklab(49.56% 0.1173 -0.169)
OKLCHoklch(49.56% 0.206 304.8)
XYZxyz(18.9280, 10.3910, 49.1428)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32BD #71BD32
analogous
#3932BD #7E32BD #BD32B7
triadic
#7E32BD #BD7E32 #32BD7E
tetradic
#7E32BD #BD3932 #71BD32 #32B7BD
square
#7E32BD #BD3932 #71BD32 #32B7BD
split-complementary
#7E32BD #B7BD32 #32BD39
monochromatic
#3D185C #5E258D #7E32BD #9C59D3 #B989E0

Accessibility & contrast

On white

6.82
#7E32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7E32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E32BD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32BD#FFFFFF#000000##FFFFFF
##7E32BD1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#725475
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e32bd;
/* rgb */ color: rgb(126, 50, 189);
/* oklch */ color: oklch(49.6% 0.206 304.8);
Tailwind
colors: {
  custom: {
    50: '#a971d2',
    500: '#7e32bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e32bd;
$custom-light: #a971d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32bd",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 272.806,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.20574,
    "h": 304.8
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#7E32BD
secondary
#A2CA81
accent
#E1468D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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