#7B32C5#7B32C5

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

Color values

HEX#7B32C5
RGBrgb(123, 50, 197)
HSLhsl(270, 60%, 48%)
HSVhsv(270, 75%, 77%)
CMYKcmyk(37.6%, 74.6%, 0%, 22.7%)
CIE-LABlab(38.77, 58.25, -63.71)
CIE-LCHlch(38.77, 86.33, 312.44°)
OKLaboklab(49.84% 0.1115 -0.1818)
OKLCHoklch(49.84% 0.213 301.5)
XYZxyz(19.3846, 10.5233, 53.8224)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32C5 #7CC532
analogous
#3232C5 #7B32C5 #C432C5
triadic
#7B32C5 #C57B32 #32C57B
tetradic
#7B32C5 #C53232 #7CC532 #32C5C4
square
#7B32C5 #C53232 #7CC532 #32C5C4
split-complementary
#7B32C5 #C5C432 #32C532
monochromatic
#3E1963 #5D2694 #7B32C5 #9A5ED6 #B88FE3

Accessibility & contrast

On white

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

On black

3.10
#7B32C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B32C5#FFFFFF#000000##FFFFFF
##7B32C51.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#6B5879
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b32c5;
/* rgb */ color: rgb(123, 50, 197);
/* oklch */ color: oklch(49.8% 0.213 301.5);
Tailwind
colors: {
  custom: {
    50: '#a871d8',
    500: '#7b32c5',
    950: '#000000',
  },
}
SCSS
$custom: #7b32c5;
$custom-light: #a871d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32c5",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 269.796,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.21326,
    "h": 301.5
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#7B32C5
secondary
#AACD86
accent
#E34594
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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