#7D32BB#7D32BB

#7D32BB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.203 H 304.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7D32BB
RGBrgb(125, 50, 187)
HSLhsl(273, 58%, 46%)
HSVhsv(273, 73%, 73%)
CMYKcmyk(33.2%, 73.3%, 0%, 26.7%)
CIE-LABlab(38.25, 56.27, -58.68)
CIE-LCHlch(38.25, 81.30, 313.80°)
OKLaboklab(49.29% 0.1163 -0.1669)
OKLCHoklch(49.29% 0.203 304.9)
XYZxyz(18.5657, 10.2291, 48.0004)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32BB #70BB32
analogous
#3932BB #7D32BB #BB32B5
triadic
#7D32BB #BB7D32 #32BB7D
tetradic
#7D32BB #BB3932 #70BB32 #32B5BB
square
#7D32BB #BB3932 #70BB32 #32B5BB
split-complementary
#7D32BB #B5BB32 #32BB39
monochromatic
#3C185A #5D258B #7D32BB #9B58D2 #B888DF

Accessibility & contrast

On white

6.89
#7D32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D32BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32BB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32BB#FFFFFF#000000##FFFFFF
##7D32BB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#715374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d32bb;
/* rgb */ color: rgb(125, 50, 187);
/* oklch */ color: oklch(49.3% 0.203 304.9);
Tailwind
colors: {
  custom: {
    50: '#a871d0',
    500: '#7d32bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d32bb;
$custom-light: #a871d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32bb",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 272.847,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49285,
    "c": 0.20349,
    "h": 304.9
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#7D32BB
secondary
#A1C980
accent
#E1478D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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