#7E32BC#7E32BC

#7E32BC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.205 H 305.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7E32BC
RGBrgb(126, 50, 188)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 73%, 74%)
CMYKcmyk(33%, 73.4%, 0%, 26.3%)
CIE-LABlab(38.46, 56.69, -58.92)
CIE-LCHlch(38.46, 81.76, 313.89°)
OKLaboklab(49.49% 0.1175 -0.1676)
OKLCHoklch(49.49% 0.205 305)
XYZxyz(18.8198, 10.3478, 48.5731)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32BC #70BC32
analogous
#3932BC #7E32BC #BC32B5
triadic
#7E32BC #BC7E32 #32BC7E
tetradic
#7E32BC #BC3932 #70BC32 #32B5BC
square
#7E32BC #BC3932 #70BC32 #32B5BC
split-complementary
#7E32BC #B5BC32 #32BC39
monochromatic
#3D185B #5E258C #7E32BC #9C58D3 #B989E0

Accessibility & contrast

On white

6.84
#7E32BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7E32BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E32BC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32BC#FFFFFF#000000##FFFFFF
##7E32BC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#725374
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e32bc;
/* rgb */ color: rgb(126, 50, 188);
/* oklch */ color: oklch(49.5% 0.205 305.0);
Tailwind
colors: {
  custom: {
    50: '#a971d1',
    500: '#7e32bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e32bc;
$custom-light: #a971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32bc",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 273.043,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.20473,
    "h": 305
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#7E32BC
secondary
#A1C980
accent
#E1478C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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