#7A32C1#7A32C1

#7A32C1 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.209 H 302.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7A32C1
RGBrgb(122, 50, 193)
HSLhsl(270, 59%, 48%)
HSVhsv(270, 74%, 76%)
CMYKcmyk(36.8%, 74.1%, 0%, 24.3%)
CIE-LABlab(38.32, 57.13, -62.10)
CIE-LCHlch(38.32, 84.39, 312.61°)
OKLaboklab(49.4% 0.1109 -0.1771)
OKLCHoklch(49.4% 0.209 302.1)
XYZxyz(18.7900, 10.2690, 51.4339)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32C1 #79C132
analogous
#3332C1 #7A32C1 #C132C0
triadic
#7A32C1 #C17A32 #32C17A
tetradic
#7A32C1 #C13332 #79C132 #32C0C1
square
#7A32C1 #C13332 #79C132 #32C0C1
split-complementary
#7A32C1 #C0C132 #32C133
monochromatic
#3D1960 #5B2590 #7A32C1 #995CD5 #B78CE1

Accessibility & contrast

On white

6.88
#7A32C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7A32C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A32C1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32C1#FFFFFF#000000##FFFFFF
##7A32C11.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#6B5677
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a32c1;
/* rgb */ color: rgb(122, 50, 193);
/* oklch */ color: oklch(49.4% 0.209 302.1);
Tailwind
colors: {
  custom: {
    50: '#a771d5',
    500: '#7a32c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a32c1;
$custom-light: #a771d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32c1",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 270.21,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.20899,
    "h": 302.1
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#7A32C1
secondary
#A7CB83
accent
#E24693
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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