#7C32B2#7C32B2

#7C32B2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.194 H 306.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7C32B2
RGBrgb(124, 50, 178)
HSLhsl(275, 56%, 45%)
HSVhsv(275, 72%, 70%)
CMYKcmyk(30.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(37.45, 54.01, -54.67)
CIE-LCHlch(37.45, 76.85, 314.65°)
OKLaboklab(48.48% 0.1165 -0.1552)
OKLCHoklch(48.48% 0.194 306.9)
XYZxyz(17.4869, 9.7808, 43.0775)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C32B2 #68B232
analogous
#3C32B2 #7C32B2 #B232A8
triadic
#7C32B2 #B27C32 #32B27C
tetradic
#7C32B2 #B23C32 #68B232 #32A8B2
square
#7C32B2 #B23C32 #68B232 #32A8B2
split-complementary
#7C32B2 #A8B232 #32B23C
monochromatic
#391752 #5B2582 #7C32B2 #9A53CF #B682DC

Accessibility & contrast

On white

7.10
#7C32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7C32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C32B2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C32B2#FFFFFF#000000##FFFFFF
##7C32B21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0059AF
Tritanopia (blue-blind)
#73506F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c32b2;
/* rgb */ color: rgb(124, 50, 178);
/* oklch */ color: oklch(48.5% 0.194 306.9);
Tailwind
colors: {
  custom: {
    50: '#a770ca',
    500: '#7c32b2',
    950: '#000000',
  },
}
SCSS
$custom: #7c32b2;
$custom-light: #a770ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c32b2",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 274.688,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.19409,
    "h": 306.9
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#7C32B2
secondary
#9AC57B
accent
#DF4888
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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