#7B32BD#7B32BD

#7B32BD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.205 H 303.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7B32BD
RGBrgb(123, 50, 189)
HSLhsl(272, 58%, 47%)
HSVhsv(272, 74%, 74%)
CMYKcmyk(34.9%, 73.5%, 0%, 25.9%)
CIE-LABlab(38.14, 56.37, -60.05)
CIE-LCHlch(38.14, 82.36, 313.19°)
OKLaboklab(49.2% 0.1132 -0.171)
OKLCHoklch(49.2% 0.205 303.5)
XYZxyz(18.4921, 10.1663, 49.1223)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32BD #74BD32
analogous
#3632BD #7B32BD #BD32BA
triadic
#7B32BD #BD7B32 #32BD7B
tetradic
#7B32BD #BD3632 #74BD32 #32BABD
square
#7B32BD #BD3632 #74BD32 #32BABD
split-complementary
#7B32BD #BABD32 #32BD36
monochromatic
#3C185C #5C258D #7B32BD #9959D3 #B789E0

Accessibility & contrast

On white

6.92
#7B32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7B32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32BD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32BD#FFFFFF#000000##FFFFFF
##7B32BD1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#6E5475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b32bd;
/* rgb */ color: rgb(123, 50, 189);
/* oklch */ color: oklch(49.2% 0.205 303.5);
Tailwind
colors: {
  custom: {
    50: '#a771d2',
    500: '#7b32bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b32bd;
$custom-light: #a771d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32bd",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 271.511,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.20509,
    "h": 303.5
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#7B32BD
secondary
#A4CA81
accent
#E14690
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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