#7C32BB#7C32BB

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

Color values

HEX#7C32BB
RGBrgb(124, 50, 187)
HSLhsl(272, 58%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(33.7%, 73.3%, 0%, 26.7%)
CIE-LABlab(38.12, 56.08, -58.90)
CIE-LCHlch(38.12, 81.33, 313.60°)
OKLaboklab(49.16% 0.115 -0.1676)
OKLCHoklch(49.16% 0.203 304.4)
XYZxyz(18.4204, 10.1542, 47.9936)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32BB #71BB32
analogous
#3832BB #7C32BB #BB32B6
triadic
#7C32BB #BB7C32 #32BB7C
tetradic
#7C32BB #BB3832 #71BB32 #32B6BB
square
#7C32BB #BB3832 #71BB32 #32B6BB
split-complementary
#7C32BB #B6BB32 #32BB38
monochromatic
#3C185A #5C258B #7C32BB #9A58D2 #B788DF

Accessibility & contrast

On white

6.93
#7C32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C32BB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32BB#FFFFFF#000000##FFFFFF
##7C32BB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#705374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c32bb;
/* rgb */ color: rgb(124, 50, 187);
/* oklch */ color: oklch(49.2% 0.203 304.4);
Tailwind
colors: {
  custom: {
    50: '#a771d0',
    500: '#7c32bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c32bb;
$custom-light: #a771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32bb",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 272.409,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.20327,
    "h": 304.4
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#7C32BB
secondary
#A1C980
accent
#E1478E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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