#7B32C1#7B32C1

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

Color values

HEX#7B32C1
RGBrgb(123, 50, 193)
HSLhsl(271, 59%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(36.3%, 74.1%, 0%, 24.3%)
CIE-LABlab(38.45, 57.31, -61.89)
CIE-LCHlch(38.45, 84.35, 312.80°)
OKLaboklab(49.51% 0.1123 -0.1764)
OKLCHoklch(49.51% 0.209 302.5)
XYZxyz(18.9323, 10.3424, 51.4406)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32C1 #78C132
analogous
#3332C1 #7B32C1 #C132C0
triadic
#7B32C1 #C17B32 #32C17B
tetradic
#7B32C1 #C13332 #78C132 #32C0C1
square
#7B32C1 #C13332 #78C132 #32C0C1
split-complementary
#7B32C1 #C0C132 #32C133
monochromatic
#3D1960 #5C2590 #7B32C1 #995CD5 #B88CE1

Accessibility & contrast

On white

6.84
#7B32C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7B32C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32C1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32C1#FFFFFF#000000##FFFFFF
##7B32C11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b32c1;
/* rgb */ color: rgb(123, 50, 193);
/* oklch */ color: oklch(49.5% 0.209 302.5);
Tailwind
colors: {
  custom: {
    50: '#a771d5',
    500: '#7b32c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b32c1;
$custom-light: #a771d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32c1",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 270.629,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.20917,
    "h": 302.5
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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