#7C32B8#7C32B8

#7C32B8 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.200 H 305.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7C32B8
RGBrgb(124, 50, 184)
HSLhsl(273, 57%, 46%)
HSVhsv(273, 73%, 72%)
CMYKcmyk(32.6%, 72.8%, 0%, 27.8%)
CIE-LABlab(37.89, 55.39, -57.50)
CIE-LCHlch(37.89, 79.84, 313.93°)
OKLaboklab(48.93% 0.1155 -0.1635)
OKLCHoklch(48.93% 0.2 305.2)
XYZxyz(18.1026, 10.0271, 46.3199)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32B8 #6EB832
analogous
#3932B8 #7C32B8 #B832B1
triadic
#7C32B8 #B87C32 #32B87C
tetradic
#7C32B8 #B83932 #6EB832 #32B1B8
square
#7C32B8 #B83932 #6EB832 #32B1B8
split-complementary
#7C32B8 #B1B832 #32B839
monochromatic
#3B1858 #5C2588 #7C32B8 #9A56D1 #B786DE

Accessibility & contrast

On white

6.99
#7C32B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C32B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32B8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32B8#FFFFFF#000000##FFFFFF
##7C32B81.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#715272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c32b8;
/* rgb */ color: rgb(124, 50, 184);
/* oklch */ color: oklch(48.9% 0.200 305.2);
Tailwind
colors: {
  custom: {
    50: '#a771ce',
    500: '#7c32b8',
    950: '#000000',
  },
}
SCSS
$custom: #7c32b8;
$custom-light: #a771ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32b8",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 273.134,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.20021,
    "h": 305.2
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#7C32B8
secondary
#9FC87E
accent
#E1478C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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