#7C32BE#7C32BE

#7C32BE is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.206 H 303.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7C32BE
RGBrgb(124, 50, 190)
HSLhsl(272, 58%, 47%)
HSVhsv(272, 74%, 75%)
CMYKcmyk(34.7%, 73.7%, 0%, 25.5%)
CIE-LABlab(38.35, 56.78, -60.29)
CIE-LCHlch(38.35, 82.82, 313.28°)
OKLaboklab(49.4% 0.1144 -0.1717)
OKLCHoklch(49.4% 0.206 303.7)
XYZxyz(18.7449, 10.2840, 49.7027)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32BE #74BE32
analogous
#3632BE #7C32BE #BE32BA
triadic
#7C32BE #BE7C32 #32BE7C
tetradic
#7C32BE #BE3632 #74BE32 #32BABE
square
#7C32BE #BE3632 #74BE32 #32BABE
split-complementary
#7C32BE #BABE32 #32BE36
monochromatic
#3D195D #5C258E #7C32BE #9A5AD3 #B88AE0

Accessibility & contrast

On white

6.87
#7C32BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7C32BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32BE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32BE#FFFFFF#000000##FFFFFF
##7C32BE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c32be;
/* rgb */ color: rgb(124, 50, 190);
/* oklch */ color: oklch(49.4% 0.206 303.7);
Tailwind
colors: {
  custom: {
    50: '#a871d3',
    500: '#7c32be',
    950: '#000000',
  },
}
SCSS
$custom: #7c32be;
$custom-light: #a871d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32be",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 271.714,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.20632,
    "h": 303.7
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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