#7B32BE#7B32BE

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

Color values

HEX#7B32BE
RGBrgb(123, 50, 190)
HSLhsl(271, 58%, 47%)
HSVhsv(271, 74%, 75%)
CMYKcmyk(35.3%, 73.7%, 0%, 25.5%)
CIE-LABlab(38.22, 56.60, -60.51)
CIE-LCHlch(38.22, 82.86, 313.09°)
OKLaboklab(49.28% 0.113 -0.1724)
OKLCHoklch(49.28% 0.206 303.2)
XYZxyz(18.6011, 10.2099, 49.6960)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32BE #75BE32
analogous
#3532BE #7B32BE #BE32BB
triadic
#7B32BE #BE7B32 #32BE7B
tetradic
#7B32BE #BE3532 #75BE32 #32BBBE
square
#7B32BE #BE3532 #75BE32 #32BBBE
split-complementary
#7B32BE #BBBE32 #32BE35
monochromatic
#3C195D #5C258E #7B32BE #995AD3 #B78AE0

Accessibility & contrast

On white

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

On black

3.04
#7B32BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B32BE#FFFFFF#000000##FFFFFF
##7B32BE1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#6D5575
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b32be;
/* rgb */ color: rgb(123, 50, 190);
/* oklch */ color: oklch(49.3% 0.206 303.2);
Tailwind
colors: {
  custom: {
    50: '#a771d3',
    500: '#7b32be',
    950: '#000000',
  },
}
SCSS
$custom: #7b32be;
$custom-light: #a771d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32be",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 271.286,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.20611,
    "h": 303.2
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#7B32BE
secondary
#A4CA82
accent
#E24691
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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