#7B32C0#7B32C0

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

Color values

HEX#7B32C0
RGBrgb(123, 50, 192)
HSLhsl(271, 59%, 47%)
HSVhsv(271, 74%, 75%)
CMYKcmyk(35.9%, 74%, 0%, 24.7%)
CIE-LABlab(38.37, 57.07, -61.43)
CIE-LCHlch(38.37, 83.85, 312.89°)
OKLaboklab(49.43% 0.1126 -0.1751)
OKLCHoklch(49.43% 0.208 302.7)
XYZxyz(18.8212, 10.2979, 50.8551)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32C0 #77C032
analogous
#3432C0 #7B32C0 #C032BE
triadic
#7B32C0 #C07B32 #32C07B
tetradic
#7B32C0 #C03432 #77C032 #32BEC0
square
#7B32C0 #C03432 #77C032 #32BEC0
split-complementary
#7B32C0 #BEC032 #32C034
monochromatic
#3D195F #5C258F #7B32C0 #995BD4 #B78BE1

Accessibility & contrast

On white

6.86
#7B32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7B32C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32C0
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32C0#FFFFFF#000000##FFFFFF
##7B32C01.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#6D5677
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b32c0;
/* rgb */ color: rgb(123, 50, 192);
/* oklch */ color: oklch(49.4% 0.208 302.7);
Tailwind
colors: {
  custom: {
    50: '#a771d4',
    500: '#7b32c0',
    950: '#000000',
  },
}
SCSS
$custom: #7b32c0;
$custom-light: #a771d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32c0",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 270.845,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.20816,
    "h": 302.7
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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