#7C32C7#7C32C7

#7C32C7 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.215 H 301.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7C32C7
RGBrgb(124, 50, 199)
HSLhsl(270, 60%, 49%)
HSVhsv(270, 75%, 78%)
CMYKcmyk(37.7%, 74.9%, 0%, 22%)
CIE-LABlab(39.05, 58.90, -64.40)
CIE-LCHlch(39.05, 87.28, 312.44°)
OKLaboklab(50.11% 0.1124 -0.1838)
OKLCHoklch(50.11% 0.215 301.5)
XYZxyz(19.7591, 10.6897, 55.0441)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32C7 #7DC732
analogous
#3233C7 #7C32C7 #C732C7
triadic
#7C32C7 #C77C32 #32C77C
tetradic
#7C32C7 #C73233 #7DC732 #32C7C7
square
#7C32C7 #C73233 #7DC732 #32C7C7
split-complementary
#7C32C7 #C7C732 #33C732
monochromatic
#3F1965 #5E2696 #7C32C7 #9B5FD7 #B990E3

Accessibility & contrast

On white

6.69
#7C32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7C32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C32C7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32C7#FFFFFF#000000##FFFFFF
##7C32C71.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#6C587B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c32c7;
/* rgb */ color: rgb(124, 50, 199);
/* oklch */ color: oklch(50.1% 0.215 301.5);
Tailwind
colors: {
  custom: {
    50: '#a871d9',
    500: '#7c32c7',
    950: '#000000',
  },
}
SCSS
$custom: #7c32c7;
$custom-light: #a871d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32c7",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 269.799,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.21546,
    "h": 301.5
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#7C32C7
secondary
#ABCE87
accent
#E34594
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7C32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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