#7D32BA#7D32BA

#7D32BA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.202 H 305.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D32BA
RGBrgb(125, 50, 186)
HSLhsl(273, 58%, 46%)
HSVhsv(273, 73%, 73%)
CMYKcmyk(32.8%, 73.1%, 0%, 27.1%)
CIE-LABlab(38.18, 56.04, -58.21)
CIE-LCHlch(38.18, 80.80, 313.91°)
OKLaboklab(49.21% 0.1165 -0.1656)
OKLCHoklch(49.21% 0.202 305.1)
XYZxyz(18.4590, 10.1865, 47.4386)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32BA #6FBA32
analogous
#3932BA #7D32BA #BA32B3
triadic
#7D32BA #BA7D32 #32BA7D
tetradic
#7D32BA #BA3932 #6FBA32 #32B3BA
square
#7D32BA #BA3932 #6FBA32 #32B3BA
split-complementary
#7D32BA #B3BA32 #32BA39
monochromatic
#3C185A #5D258A #7D32BA #9B57D2 #B888DF

Accessibility & contrast

On white

6.91
#7D32BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D32BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32BA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32BA#FFFFFF#000000##FFFFFF
##7D32BA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#725373
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d32ba;
/* rgb */ color: rgb(125, 50, 186);
/* oklch */ color: oklch(49.2% 0.202 305.1);
Tailwind
colors: {
  custom: {
    50: '#a871d0',
    500: '#7d32ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d32ba;
$custom-light: #a871d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32ba",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 273.088,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.20247,
    "h": 305.1
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#7D32BA
secondary
#A0C97F
accent
#E1478C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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