#7A32C0#7A32C0

#7A32C0 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.208 H 302.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7A32C0
RGBrgb(122, 50, 192)
HSLhsl(270, 59%, 47%)
HSVhsv(270, 74%, 75%)
CMYKcmyk(36.5%, 74%, 0%, 24.7%)
CIE-LABlab(38.24, 56.89, -61.65)
CIE-LCHlch(38.24, 83.89, 312.70°)
OKLaboklab(49.32% 0.1111 -0.1758)
OKLCHoklch(49.32% 0.208 302.3)
XYZxyz(18.6788, 10.2245, 50.8484)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32C0 #78C032
analogous
#3332C0 #7A32C0 #C032BF
triadic
#7A32C0 #C07A32 #32C07A
tetradic
#7A32C0 #C03332 #78C032 #32BFC0
square
#7A32C0 #C03332 #78C032 #32BFC0
split-complementary
#7A32C0 #BFC032 #32C033
monochromatic
#3C195F #5B258F #7A32C0 #985BD4 #B78BE1

Accessibility & contrast

On white

6.90
#7A32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A32C0
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32C0#FFFFFF#000000##FFFFFF
##7A32C01.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6B5677
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a32c0;
/* rgb */ color: rgb(122, 50, 192);
/* oklch */ color: oklch(49.3% 0.208 302.3);
Tailwind
colors: {
  custom: {
    50: '#a671d4',
    500: '#7a32c0',
    950: '#000000',
  },
}
SCSS
$custom: #7a32c0;
$custom-light: #a671d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32c0",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 270.423,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.20797,
    "h": 302.3
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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