#7A32C7#7A32C7

#7A32C7 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.215 H 300.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A32C7
RGBrgb(122, 50, 199)
HSLhsl(269, 60%, 49%)
HSVhsv(269, 75%, 78%)
CMYKcmyk(38.7%, 74.9%, 0%, 22%)
CIE-LABlab(38.80, 58.56, -64.83)
CIE-LCHlch(38.80, 87.36, 312.09°)
OKLaboklab(49.88% 0.1096 -0.1851)
OKLCHoklch(49.88% 0.215 300.6)
XYZxyz(19.4729, 10.5421, 55.0307)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32C7 #7FC732
analogous
#3235C7 #7A32C7 #C532C7
triadic
#7A32C7 #C77A32 #32C77A
tetradic
#7A32C7 #C73235 #7FC732 #32C7C5
square
#7A32C7 #C73235 #7FC732 #32C7C5
split-complementary
#7A32C7 #C7C532 #35C732
monochromatic
#3E1965 #5C2696 #7A32C7 #995FD7 #B890E3

Accessibility & contrast

On white

6.76
#7A32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7A32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A32C7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32C7#FFFFFF#000000##FFFFFF
##7A32C71.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#68587B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a32c7;
/* rgb */ color: rgb(122, 50, 199);
/* oklch */ color: oklch(49.9% 0.215 300.6);
Tailwind
colors: {
  custom: {
    50: '#a771d9',
    500: '#7a32c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a32c7;
$custom-light: #a771d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32c7",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 268.993,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.21513,
    "h": 300.6
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#7A32C7
secondary
#ACCE87
accent
#E34597
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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