#7E32D0#7E32D0

#7E32D0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.225 H 300.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7E32D0
RGBrgb(126, 50, 208)
HSLhsl(269, 63%, 51%)
HSVhsv(269, 76%, 82%)
CMYKcmyk(39.4%, 76%, 0%, 18.4%)
CIE-LABlab(40.03, 61.36, -68.02)
CIE-LCHlch(40.03, 91.60, 312.05°)
OKLaboklab(51.08% 0.1131 -0.1944)
OKLCHoklch(51.08% 0.225 300.2)
XYZxyz(21.1271, 11.2707, 60.7247)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E32D0 #84D032
analogous
#3235D0 #7E32D0 #CD32D0
triadic
#7E32D0 #D07E32 #32D07E
tetradic
#7E32D0 #D03235 #84D032 #32D0CD
square
#7E32D0 #D03235 #84D032 #32D0CD
split-complementary
#7E32D0 #D0CD32 #35D032
monochromatic
#42196E #6025A0 #7E32D0 #9D64DB #BD96E7

Accessibility & contrast

On white

6.45
#7E32D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7E32D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E32D0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E32D0#FFFFFF#000000##FFFFFF
##7E32D01.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#6B5C80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e32d0;
/* rgb */ color: rgb(126, 50, 208);
/* oklch */ color: oklch(51.1% 0.225 300.2);
Tailwind
colors: {
  custom: {
    50: '#aa72df',
    500: '#7e32d0',
    950: '#000000',
  },
}
SCSS
$custom: #7e32d0;
$custom-light: #aa72df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e32d0",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 208
  },
  "hsl": {
    "h": 268.861,
    "s": 62.698,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.22487,
    "h": 300.2
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#7E32D0
secondary
#B0D28C
accent
#E64297
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E32D0

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

Preview Lab → · Contrast checker → · Palette generator →

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