#7E32CA#7E32CA

#7E32CA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.219 H 301.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7E32CA
RGBrgb(126, 50, 202)
HSLhsl(270, 60%, 49%)
HSVhsv(270, 75%, 79%)
CMYKcmyk(37.6%, 75.2%, 0%, 20.8%)
CIE-LABlab(39.55, 59.95, -65.33)
CIE-LCHlch(39.55, 88.67, 312.54°)
OKLaboklab(50.59% 0.1145 -0.1865)
OKLCHoklch(50.59% 0.219 301.6)
XYZxyz(20.4029, 10.9810, 56.9103)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32CA #7ECA32
analogous
#3232CA #7E32CA #CA32CA
triadic
#7E32CA #CA7E32 #32CA7E
tetradic
#7E32CA #CA3232 #7ECA32 #32CACA
square
#7E32CA #CA3232 #7ECA32 #32CACA
split-complementary
#7E32CA #CACA32 #32CA32
monochromatic
#411A68 #5F2699 #7E32CA #9D61D8 #BB92E4

Accessibility & contrast

On white

6.57
#7E32CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7E32CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E32CA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32CA#FFFFFF#000000##FFFFFF
##7E32CA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#6D597C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e32ca;
/* rgb */ color: rgb(126, 50, 202);
/* oklch */ color: oklch(50.6% 0.219 301.6);
Tailwind
colors: {
  custom: {
    50: '#aa72db',
    500: '#7e32ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e32ca;
$custom-light: #aa72db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32ca",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 60.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50592,
    "c": 0.21884,
    "h": 301.6
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#7E32CA
secondary
#ACCF89
accent
#E34494
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E32CA

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

Preview Lab → · Contrast checker → · Palette generator →

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