#7C32B0#7C32B0

#7C32B0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.192 H 307.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7C32B0
RGBrgb(124, 50, 176)
HSLhsl(275, 56%, 44%)
HSVhsv(275, 72%, 69%)
CMYKcmyk(29.5%, 71.6%, 0%, 31%)
CIE-LABlab(37.30, 53.55, -53.72)
CIE-LCHlch(37.30, 75.85, 314.91°)
OKLaboklab(48.33% 0.1169 -0.1524)
OKLCHoklch(48.33% 0.192 307.5)
XYZxyz(17.2876, 9.7011, 42.0277)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32B0 #66B032
analogous
#3D32B0 #7C32B0 #B032A5
triadic
#7C32B0 #B07C32 #32B07C
tetradic
#7C32B0 #B03D32 #66B032 #32A5B0
square
#7C32B0 #B03D32 #66B032 #32A5B0
split-complementary
#7C32B0 #A5B032 #32B03D
monochromatic
#391751 #5A2480 #7C32B0 #9A51CE #B681DB

Accessibility & contrast

On white

7.14
#7C32B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7C32B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32B0
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32B0#FFFFFF#000000##FFFFFF
##7C32B01.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#734F6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c32b0;
/* rgb */ color: rgb(124, 50, 176);
/* oklch */ color: oklch(48.3% 0.192 307.5);
Tailwind
colors: {
  custom: {
    50: '#a670c8',
    500: '#7c32b0',
    950: '#000000',
  },
}
SCSS
$custom: #7c32b0;
$custom-light: #a670c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32b0",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 275.238,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.19206,
    "h": 307.5
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#7C32B0
secondary
#98C479
accent
#DF4987
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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